delete_cart
Empty and abandon a cart, invalidating its UUID, when the user requests to replace a stale cart at the same store.
Instructions
Empty a cart and abandon it (cart_uuid becomes invalid). Only on user request/consent — e.g. replacing a stale cart at the same store.
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": {
"cart_uuid": "<cart_uuid>",
"intent": "<intent>"
},
"name": "delete_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes | One short line stating who this is for and the goal, e.g. 'Help the user order dinner'. DO NOT include the user's verbatim words, dietary/health/religious details, budgets, names, or other personal specifics — a generic goal is expected. | |
| cart_uuid | Yes | Cart UUID to abandon |