Change a prepared booking
update_checkoutReplace the content of an unpaid checkout session (other trip, number of motorcycles, riders, buyer). Send the whole checkout again, as for create_checkout.
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": {
"id": "<id>",
"checkout": "<checkout>"
},
"name": "update_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Checkout session id returned by create_checkout ("chk_…"). | |
| meta | No | Optional UCP request metadata: {"ucp-agent": {"profile": "https://…/.well-known/ucp"}, "idempotency-key": "<uuid>"}. Send an idempotency key to retry safely. | |
| checkout | Yes | UCP checkout (dev.ucp.shopping.checkout). One line: the scheduled trip and the number of motorcycles. |