remove_cart_item
Remove one line item (pack) from a vendor cart. POST /customer/cart/vendor/{vendor_id} with quantity 0. Run view_vendor_cart first — pass menu line ids from data.cart_items[] (type menu). Side-effect.
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": {
"step_56_url_path_3": "<step_56_url_path_3>",
"step_118_body_address_id": "<step_118_body_address_id>",
"step_118_body_items_0_item_id": "<step_118_body_items_0_item_id>",
"step_118_body_items_0_cart_item_id": "<step_118_body_items_0_cart_item_id>",
"step_118_body_items_0_pack_reference": "<step_118_body_items_0_pack_reference>"
},
"name": "remove_cart_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step_56_url_path_3 | Yes | Vendor id (view_vendor_cart → data.vendor_id or same vendor as cart) | |
| step_118_body_class | No | Order class from cart — usually delivery | |
| notification_message | No | Short user-facing sentence for this action if the follow-up reply fails. Plain text only; do not mention template syntax or variable names. | |
| step_118_body_address_id | Yes | Delivery address id from view_vendor_cart → data.address_id | |
| step_118_body_items_0_item_id | Yes | Menu item id from view_vendor_cart → data.cart_items[].item_id (type menu line) | |
| step_118_body_items_0_cart_item_id | Yes | Cart line id from view_vendor_cart → data.cart_items[].id | |
| step_118_body_items_0_pack_reference | Yes | Pack UUID from view_vendor_cart → data.cart_items[].pack_reference | |
| step_7_body_data_0_cart_items_0_type | No | Must be menu for food lines (default menu) |