place_order
Submits a real DoorDash order and may charge a saved card. Use a fresh preview hash with exact total/tip and reconcile unknown outcomes instead of retrying.
Instructions
SUBMITS A REAL ORDER and may charge the selected saved card. Implemented but not live-tested. Use a fresh checkout preview, its exact hash/total and the same tip. request_id is a caller-generated UUID. One durable submission attempt per cart; unknown outcomes must be reconciled, never retried with a new ID.
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": {
"cart_id": "<cart_id>",
"request_id": "<request_id>",
"preview_hash": "<preview_hash>",
"total_cents": "<total_cents>",
"tip_cents": "<tip_cents>",
"payment_card_id": "<payment_card_id>"
},
"name": "place_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart_id | Yes | ||
| tip_cents | Yes | ||
| request_id | Yes | ||
| total_cents | Yes | ||
| preview_hash | Yes | ||
| payment_card_id | Yes |