cart_diff
Compare expected SKUs against the actual cart to reveal missing, extra, and quantity mismatches.
Instructions
Compare a list of expected SKUs against the actual cart. Shows missing, extra, and quantity mismatches.
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": {
"expected_skus": "<expected_skus>"
},
"name": "cart_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expected_skus | Yes | Comma-separated SKUs (or sku:qty pairs) that should be in cart |