View my cart
view_cartShow the current shopping cart (items, options, quantities, line prices, subtotal). Anonymous — no sign-in required. Read-only.
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": "view_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | Cart line items (line_id, product_id, name, quantity, prices, options). | |
| message | No | Present on an empty cart. | |
| currency | No | ||
| subtotal | No | ||
| item_count | No | ||
| merchant_id | No | ||
| merchant_city | No | ||
| merchant_name | No |