Create cart
create_cartCreate a cart (UCP cart). Not an order; nothing is charged. At most 3 per line item and 5 items per cart (quantity_limit_exceeded).
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": {
"cart": "<cart>"
},
"name": "create_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart | Yes | UCP cart payload, shape per https://ucp.dev/2026-08-25/schemas/shopping/cart.json | |
| meta | No | UCP request metadata: {"ucp-agent": {"profile": "<platform profile URL>"}, "idempotency-key": "<uuid>"}. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ucp | Yes |