Очистить корзину
clear_cartEmpties all items and all carts in Yandex Eda. Use to clear your entire cart when you need to remove everything.
Instructions
Полностью очищает корзину (ВСЕ позиции и все корзины). Если в корзине есть и другие позиции, а поменять надо одну — используй remove_from_cart, а не это. Яндекс Еда не даёт редактировать опции в корзине, поэтому для смены варианта: remove_from_cart (или clear_cart, если корзина только из этой позиции) → add_to_cart заново.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "clear_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||