Commerce

setOptionRule

Set Option Rule

State a rule BETWEEN two option choices: when whenChoiceId is selected, hidesChoiceId is unavailable (e.g.

write

Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "when someone picks vegan, remove cream cheese frosting", and it calls setOptionRule.

Example call

The MCP tools/call params, with the required arguments only.

{
  "arguments": {
    "appId": "<appId>",
    "hidesChoiceId": "<hidesChoiceId>",
    "whenChoiceId": "<whenChoiceId>"
  },
  "name": "setOptionRule"
}

Arguments

Returns

The registry does not declare a return shape.

Ask for it

The Cloud routes these requests to this verb.

Pair it with

The verbs that finish the job.

Questions

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.