Product price history
product_price_historyWhere did the caller buy a product cheaper? Returns the caller's purchase history for line items whose 'name_normalized' matches 'query' (case-insensitive substring), newest first, each with {date, merchant_name, name_raw, unit_price, unit, qty}. The agent compares merchants/prices from the result. Read-only. Optional 'from'/'to' (YYYY-MM-DD) and 'limit'.
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": {
"query": "<query>"
},
"name": "product_price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| limit | No | ||
| query | Yes |