update_checkout
Change a checkout: replace line_items, set buyer, apply a coupon code (discounts.codes) or choose a delivery option. Fields you omit stay as they are.
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 | ||
| meta | No | UCP request metadata, e.g. {"ucp-agent": {"profile": "<agent profile URL>"}}. Optional here. | |
| checkout | Yes |