get_delivery
Check the status of a DoorDash delivery by providing the delivery ID to track progress and updates.
Instructions
Get the status of an existing delivery
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| external_delivery_id | Yes | The delivery ID to retrieve |
Implementation Reference
- index.js:89-100 (registration)Registration of the 'get_delivery' MCP tool, including name, description, input schema (requiring external_delivery_id), and handler function that delegates to DoorDashClient.getDelivery(args.external_delivery_id).{ name: 'get_delivery', description: 'Get the status of an existing delivery', inputSchema: { type: 'object', properties: { external_delivery_id: { type: 'string', description: 'The delivery ID to retrieve' }, }, required: ['external_delivery_id'], }, handler: (client, args) => client.getDelivery(args.external_delivery_id), },
- index.js:99-99 (handler)The core handler logic for the get_delivery tool: an arrow function that passes the external_delivery_id argument to the DoorDash SDK client's getDelivery method.handler: (client, args) => client.getDelivery(args.external_delivery_id),
- index.js:92-97 (schema)Input schema definition for the get_delivery tool, specifying an object with a required 'external_delivery_id' string property.inputSchema: { type: 'object', properties: { external_delivery_id: { type: 'string', description: 'The delivery ID to retrieve' }, }, required: ['external_delivery_id'],