Commerce
attachModifierGroup
Attach Modifier Group
Attach a modifier group to a product, or narrow it to ONE variant (e.g.
Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "put the material choices on this shirt", and it calls attachModifierGroup.
Example call
The MCP tools/call params, with the required arguments only.
{
"arguments": {
"appId": "<appId>",
"groupId": "<groupId>",
"productId": "<productId>"
},
"name": "attachModifierGroup"
}Arguments
appIdstringrequiredThe Studio app ID whose catalog to edit.choiceOverridesobject[]optionalPer-product price, availability, and default overrides.clearRequiredOverridebooleanoptionaltrue restores requiredness to the reusable group's rule.displayOrderintegeroptionalOverride the group's order on this product.excludedChoiceIdsstring[]optionalChoices this product hides without changing the shared group.groupIdstringrequiredThe modifier group ID to attach.maxSelectionsOverrideintegeroptionalNo description is declared in the tool schema.minSelectionsOverrideintegeroptionalNo description is declared in the tool schema.productIdstringrequiredThe product ID to attach it to.requiredOverridebooleanoptionalOverride group requiredness for this product.variantIdstringoptionalNarrow the group to this one variant. Omit for all variants.visibilitystringoptionalExplicit attachment exposure. Defaults hidden. customerFacing requires owner consent.
Returns
The registry does not declare a return shape.
Declared limits
displayOrder: minimum -9007199254740991displayOrder: maximum 9007199254740991maxSelectionsOverride: minimum 0maxSelectionsOverride: maximum 9007199254740991minSelectionsOverride: minimum 0minSelectionsOverride: maximum 9007199254740991
Ask for it
The Cloud routes these requests to this verb.
- put the material choices on this shirt
- gift wrap only on the premium version
Pair it with
The verbs that finish the job.
Questions
What does attachModifierGroup do?
Attach a modifier group to a product, or narrow it to ONE variant (e.g. It is one of the tools The Cloud MCP server gives every connected AI.
How do I use attachModifierGroup from Claude or ChatGPT?
Connect your AI to The Cloud at https://mcp.thecloud.so/mcp and sign in once. Then ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "put the material choices on this shirt", and it calls attachModifierGroup.
Is attachModifierGroup safe to let an AI call?
attachModifierGroup widens who can see or receive something, so the owner approves every call explicitly. An AI cannot approve it for itself.
Connect
One endpoint gives your AI this tool and every other one: connect Claude, ChatGPT, Cursor or Gemini, read what The Cloud is, or see pricing.