Get price history
get_price_historyPrice history of a product, to judge whether a discount is real: min/avg/max in BRL, number of records and up to 30 dated prices. Says so when prices span fewer than 3 different days (not enough history to judge). Content in Brazilian Portuguese.
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": {
"product_id": "<product_id>"
},
"name": "get_price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | 30d | |
| product_id | Yes | Product id, the UUID in https://pechincha.ai/produto/<id>/<slug> |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| history | Yes | null when the product does not exist |