plan_and_optimize_group_meal
Plan a group food order by matching dietary, budget, and delivery constraints to pick a restaurant, allocate dishes, and split the bill with taxes and fees.
Instructions
Autonomous multi-person food order optimizer. Takes participants dietary constraints, individual budgets, delivery SLAs, and coordinates the best restaurant, balanced dishes, and cost calculation via Swiggy Food MCP.
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": {
"orderTitle": "<orderTitle>",
"addressId": "<addressId>",
"participants": "<participants>"
},
"name": "plan_and_optimize_group_meal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| addressId | Yes | Saved Swiggy delivery addressId | |
| orderTitle | Yes | Title of the meal event | |
| participants | Yes | List of people with their dietary requirements and budget | |
| overallBudget | No | Overall budget cap for the entire group in INR | |
| preferredStorefront | No | Swiggy collection storefront filter | |
| targetDeliveryMinutes | No | Max acceptable delivery time in minutes |