add_to_cart
Add a menu item to your cart with customizations like no pickles or extra cheese. Specify quantity to prepare for ordering.
Instructions
Add a menu item to the cart with optional customizations.
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": {
"item_id": "<item_id>"
},
"name": "add_to_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | The item ID to add to cart | |
| quantity | No | Number of items to add (default: 1) | |
| customizations | No | List of customizations (e.g., ['no pickles', 'extra cheese', 'no mayo']) |