Remove Meal from CookUnity Cart
cookunity_remove_from_cartRemove meals from your CookUnity cart by specifying delivery date and inventory ID. Adjust portion quantities to update your meal delivery selections.
Instructions
Remove a meal from the cart for a specific delivery date.
Args:
date (string, required): YYYY-MM-DD delivery date
inventory_id (string, required): Inventory ID of meal to remove
quantity (number): Portions to remove, default 1
Returns: Confirmation with updated quantity
Error Handling:
Meal not in cart: API returns error
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": {
"date": "<date>",
"inventory_id": "<inventory_id>"
},
"name": "cookunity_remove_from_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Delivery date in YYYY-MM-DD format (must be a Monday). Defaults to next Monday if omitted. | |
| inventory_id | Yes | Inventory ID of the meal to remove | |
| quantity | No | Number of portions to remove |