uxc_create_checkout
Create a UCP checkout session (multi-item, mixed-currency cart) for a merchant catalog. No key. Returns {id, status, currency, line_items, totals, ap2}.
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": {
"line_items": "<line_items>"
},
"name": "uxc_create_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buyer | No | ||
| cloud | No | merchant token when buying from a hosted merchant | |
| context | No | ||
| currency | No | optional cart display currency | |
| line_items | Yes | each: {item:{id}, quantity} |