doordash_create_group_order
Create a group order at a DoorDash restaurant to coordinate food delivery with multiple people, generating a shareable link for participants to join and add items.
Instructions
Create a group order at a restaurant. Returns a share link.
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": {
"store_id": "<store_id>"
},
"name": "doordash_create_group_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store_id | Yes | DoorDash store ID |
Implementation Reference
- src/tools/index.ts:832-857 (handler)Registration and implementation handler for the 'doordash_create_group_order' tool in src/tools/index.ts.
server.registerTool( "doordash_create_group_order", { description: "Create a group order at a restaurant. Returns a share link.", inputSchema: { store_id: z.string().describe("DoorDash store ID"), }, }, ({ store_id }) => wrap(async () => { const menu = await api.menu.getStoreMenu(store_id); const result = await api.group.createGroupCart(store_id, menu.menuId); const lines = [ `# Group Order Created: ${menu.name}\n`, `**Share link:** ${result.shareUrl}`, `**Cart ID:** ${result.id}`, `**Type:** Creator pays for all\n`, "Send the share link to others.", "Use `doordash_group_order_status` to see everyone's items.", "Use `doordash_checkout` with this cart to place the order.", ]; return ok(lines.join("\n")); }), );