Commerce

setupGiftCardRail

Set Up Gift Cards

Set a shop up to sell gift cards, in one call: find or create its gift card product, then say which amounts it sells and whether a buyer may name their own.

write

Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "let us sell gift cards", and it calls setupGiftCardRail.

Example call

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

{
  "arguments": {
    "appId": "<appId>"
  },
  "name": "setupGiftCardRail"
}

Arguments

Returns

IDEMPOTENT: run it twice and the second run returns the SAME product rather than a second one, so a retried call is safe.

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.