Check a prepared booking
get_checkoutCurrent state of a checkout session: requires_escalation (the customer still has to open continue_url and pay), completed (paid; order id given), incomplete (trip no longer bookable: choose another) or canceled (expired after 24 h, canceled, or turned into a quote request). The price is recomputed at each call.
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>"
},
"name": "get_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. |