View cart
view_cartRetrieve the current items and total cost of a guest cart using its cart ID.
Instructions
View the current contents and totals of a guest cart by its cart_id.
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 | The guest cart id returned by create_guest_cart. |