create_cart
Prepare a cart for a chosen offer using its offer_handle from find_offers. No purchase occurs until a person approves with a passkey via the provided link or QR code.
Instructions
Prepare a cart for the offer the user picked, using its offer_handle from find_offers. This does not buy anything: every purchase needs a person to approve it with a passkey, through the link or QR code in the result. Pass a quantity only if the user asked for one. US delivery only. The result ends with what this gateway sent to Intent Cloud and what it blocked.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"offer_handle": "<offer_handle>"
},
"name": "create_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | No | How many the user asked for (1 to 3). Defaults to 1. | |
| offer_handle | Yes | The offer_handle of the offer the user picked, from find_offers. |