Cancel shopping cart
cancel_cartCancel an active cart when the customer no longer wants it. This operation is idempotent.
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_ref": "<cart_ref>"
},
"name": "cancel_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart_ref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| last_state | Yes |