learn_cloudcart_storefront
Call this before other storefront tools. It explains CloudCart Storefront API behavior schema alone omits: buyer authentication, checkout URLs, server-owned pricing, and cart keys.
Instructions
Call this first, before anything else in this server.
It returns a conversationId that every other tool here requires, and — more
usefully — what the CloudCart Storefront API's schema does not show: how a
signed-in buyer is sent (an argument or @inContext(buyer:), never an
Authorization header), that a Nitrogen storefront's checkout is the store's own
(cart.checkoutUrl), that the server owns every price and money is shown as
formatted, and that a cart is addressed by an unguessable key.
Reading it first is the difference between a storefront that works and one that charges the wrong total.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "learn_cloudcart_storefront"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Your model name or id (e.g. 'claude-opus-5'). Used to improve this documentation. | |
| conversationId | No | An existing conversation id. Omit to start a new one. |