doordash_order_status
Check the status of a DoorDash order by providing the order ID to track delivery progress and updates.
Instructions
Check the status of a DoorDash order
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | Order UUID from doordash_place_order |
Implementation Reference
- src/tools/index.ts:659-676 (handler)The 'doordash_order_status' tool is registered in src/tools/index.ts. The handler calls 'api.checkout.getOrderStatus(order_id)' and formats the output into a markdown string.
server.registerTool( "doordash_order_status", { description: "Check the status of a DoorDash order", inputSchema: { order_id: z.string().describe("Order UUID from doordash_place_order"), }, }, ({ order_id }) => wrap(async () => { const status = await api.checkout.getOrderStatus(order_id); const lines = ["# Order Status\n", `Order ID: ${order_id}`]; for (const [key, val] of Object.entries(status)) { if (key !== "__typename" && val != null) lines.push(`${key}: ${val}`); } return ok(lines.join("\n")); }), );