get_cart
Retrieve current shopping cart items and totals by cart_id. Example: get_cart(cart_id='cart_1')
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart_id | No | Shopping cart identifier. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store | Yes | Merchant domain identifier. | |
| ucp_version | No | Supported UCP specification version. |