getCart
Return the agent cart: lines, totals, VAT, the chosen shipping method and the chosen payment method. Read only. Pass cart_token from createCart.
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_token": "<cart_token>"
},
"name": "getCart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart_token | Yes | Cart token from createCart. Required on every later cart call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. The HTTP status stays 200. |