clear_cart
Empty the specified shop's cart by removing all items. Confirm with user before use; returns removed item count.
Instructions
Remove every item from the shop's online cart for the authenticated user.
Returns {"removed_items": <int>}. Destructive — confirm with the user
before calling.
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": {
"shop": "<shop>"
},
"name": "clear_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shop | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||