create_cart
Creates a new shopping cart for a restaurant order by adding a menu item, supporting delivery or pickup with special instructions and add-ons.
Instructions
create a new cart with the first item.
Args: restaurant_id: The restaurant ID to order from menu_item_id: The menu item ID to add quantity: Number of this item (default 1) special_instructions: Special preparation instructions options: List of selected options/add-ons, each with {id, quantity} latitude: Delivery latitude longitude: Delivery longitude is_delivery: True for delivery, False for pickup
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| restaurant_id | Yes | ||
| menu_item_id | Yes | ||
| quantity | No | ||
| special_instructions | No | ||
| options | No | ||
| latitude | No | ||
| longitude | No | ||
| is_delivery | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |