view_cart
Retrieve the full contents of a shopping cart, including line items and running totals in cents.
Instructions
View the current contents of a cart.
Args: cart_id: The cart identifier (e.g. "crt_...").
Returns the UCP cart with line items and running totals (in cents).
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_id": "<cart_id>"
},
"name": "view_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart_id | Yes |