create_cart
Start a new Grubhub food order by adding a restaurant's first menu item to a cart, then set quantity, options, instructions, and delivery or pickup details.
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 |
|---|---|---|---|
| options | No | ||
| latitude | No | ||
| quantity | No | ||
| longitude | No | ||
| is_delivery | No | ||
| menu_item_id | Yes | ||
| restaurant_id | Yes | ||
| special_instructions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |