doordash_add_to_cart
Specify restaurant ID, item name, quantity, and special instructions to add a menu item to the DoorDash shopping cart.
Instructions
Add a menu item to the cart. Must be on a restaurant page first (use doordash_menu).
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": {
"restaurantId": "<restaurantId>",
"itemName": "<itemName>"
},
"name": "doordash_add_to_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemName | Yes | Name of the menu item to add | |
| quantity | No | Quantity to add (default: 1) | |
| restaurantId | Yes | The restaurant ID | |
| specialInstructions | No | Special instructions for the item (optional) |