Commerce
setOptionExclusions
Set Option Exclusions
Exclude specific option CHOICES from ONE product, or restore them: without editing the shared modifier group every other product reads.
Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "don't offer gluten-free on the carrot cake", and it calls setOptionExclusions.
Example call
The MCP tools/call params, with the required arguments only.
{
"arguments": {
"appId": "<appId>",
"exclusions": [
{}
],
"productId": "<productId>"
},
"name": "setOptionExclusions"
}Arguments
appIdstringrequiredThe Studio app ID whose catalog to edit.exclusionsobject[]requiredOnly the choices named here change.productIdstringrequiredThe product these option choices are excluded from.
Returns
The registry does not declare a return shape.
Declared limits
exclusions: minimum items 1
Ask for it
The Cloud routes these requests to this verb.
- don't offer gluten-free on the carrot cake
- this option shouldn't apply to that product
- put the option back on this item
Pair it with
The verbs that finish the job.
Questions
What does setOptionExclusions do?
Exclude specific option CHOICES from ONE product, or restore them: without editing the shared modifier group every other product reads. It is one of the tools The Cloud MCP server gives every connected AI.
How do I use setOptionExclusions 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 "don't offer gluten-free on the carrot cake", and it calls setOptionExclusions.
Is setOptionExclusions safe to let an AI call?
setOptionExclusions 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.