Get UCP Checkout Session
get_checkoutFetch current status, line items, final USD cent totals, fulfillment options, escalation messages, and continue_url for a uchk_* checkout session. Use this to poll or resume checkout state; use get_order for post-checkout order tracking. Parameters: pass top-level id ("uchk_<20 hex chars>") returned by create_checkout. Behavior: read-only, zero charge; returns current checkout status ("incomplete", "requires_escalation", "completed", or "canceled").
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 identifier (uchk_<20 hex chars>). | |
| meta | No | UCP protocol request metadata (meta.ucp-agent and meta.idempotency-key). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ucp | Yes | Negotiated UCP protocol metadata and capability intersection. |