Clear the cart
clear_cartClear the restaurant's saved basket on efood.gr. Removes only the server-side basket; does not cancel any placed orders. Requires authentication.
Instructions
Delete the shop's server-side basket entirely (removes it from the efood app). Only affects the saved basket — it does not cancel any placed order. Requires authentication.
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": {
"restaurant_id": "<restaurant_id>"
},
"name": "clear_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| restaurant_id | Yes | Shop/restaurant id whose basket to clear. |