Compare carts
compare_cartsRanks retailer carts by total cost, lines, minimum-order gap, and next slots for drive or delivery so users can pick where to shop.
Instructions
Reads each retailer's cart: total, lines, minimum order and missing amount, next slots. Sorted from cheapest to most expensive.
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": "compare_carts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | targeted fulfilment mode | drive |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| stores | Yes | ||
| cheapest | Yes | retailer with the cheapest non-empty cart |