Delete cart
delete_cartDeletes a cart drawer that is off, for good. The live cart can't be deleted here: switch another cart on, or this one off, first. Confirm with the merchant.
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": {
"id": "<id>"
},
"name": "delete_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Cart id from list_carts. |