Commerce
createVariant
Add Variation
Add ONE variation to a product: e.g.
Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "add a large size at $55", and it calls createVariant.
Example call
The MCP tools/call params, with the required arguments only.
{
"arguments": {
"appId": "<appId>",
"name": "<name>",
"priceMinor": 1,
"productId": "<productId>"
},
"name": "createVariant"
}Arguments
appIdstringrequiredThe Studio app ID whose catalog to edit.inventoryintegeroptionalOptional on-hand count for this variation.isAvailablebooleanoptionalfalse marks the variation sold out. Defaults true.namestringrequiredVariation name, e.g. 'Large' or '50 ML'.priceMinorintegerrequiredAbsolute variation price in minor units, e.g. 5500 = $55.00.productIdstringrequiredThe product ID to add the variation to.skustringoptionalOptional SKU.
Returns
The registry does not declare a return shape.
Declared limits
inventory: minimum 0inventory: maximum 9007199254740991priceMinor: minimum 0priceMinor: maximum 9007199254740991
Ask for it
The Cloud routes these requests to this verb.
- add a large size at $55
- give this shirt a small option
- add a 50ML tier
Pair it with
The verbs that finish the job.
Questions
What does createVariant do?
Add ONE variation to a product: e.g. It is one of the tools The Cloud MCP server gives every connected AI.
How do I use createVariant 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 "add a large size at $55", and it calls createVariant.
Is createVariant safe to let an AI call?
createVariant changes your workspace. What an AI creates is Private until you share it.
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.