market_optimize_purchase
Optimize your purchase by comparing basket items, analyzing total cost of ownership, and suggesting substitutes in one call, with actionable links and intelligence.
Instructions
[Shop] One-call purchase optimization: basket compare, TCO, substitutes, intel, and action links. Replaces fragmented search → compare → intel for agents.
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": {
"items": "<items>"
},
"name": "market_optimize_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | PE | |
| items | Yes | Basket items, e.g. [{"name":"leche","qty":2}] | |
| constraints | No | max_budget, preferred_stores, include_tco, allow_substitutes, payment_method, include_action_links | |
| include_intel | No |