schedule_delivery
Schedule a DoorDash delivery for a future time by storing an unsigned payload. At dispatch time, your local poller mints a fresh JWT and sends the delivery.
Instructions
Schedule a delivery for later. DashPilot Cloud stores ONLY the unsigned payload — no signing secret, no bearer token, nothing it could spend. When dispatch_at arrives, call dispatch_due_deliveries (from this machine) to fire due work: a fresh 60-second JWT is minted locally at that moment and the delivery goes straight to DoorDash.
Moves no money NOW, but commits a future dispatch your poller will execute with your key: confirm the plan (address, time, estimated fee) with the user before scheduling.
dispatch_at: ISO-8601 UTC time to dispatch, e.g. 2026-08-27T18:30:00Z. Other parameters are identical to get_delivery_quote.
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": {
"external_delivery_id": "<external_delivery_id>",
"pickup_address": "<pickup_address>",
"dropoff_address": "<dropoff_address>",
"dropoff_phone_number": "<dropoff_phone_number>",
"order_value": "<order_value>",
"dispatch_at": "<dispatch_at>"
},
"name": "schedule_delivery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tip | No | ||
| dispatch_at | Yes | ||
| order_value | Yes | ||
| pickup_address | Yes | ||
| dropoff_address | Yes | ||
| contactless_dropoff | No | ||
| pickup_instructions | No | ||
| dropoff_instructions | No | ||
| dropoff_phone_number | Yes | ||
| external_delivery_id | Yes | ||
| pickup_business_name | No | ||
| pickup_reference_tag | No | ||
| dropoff_contact_given_name | No | ||
| dropoff_contact_family_name | No |