get_market_trends
One market by house or by bottle size: median price and price per ml, spread (interquartile range over the median), in-stock share, and the change since the start of the window.
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": {
"market": "<market>"
},
"name": "get_market_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | brand | |
| to | No | Last day, YYYY-MM-DD | |
| from | No | First day, YYYY-MM-DD | |
| type | No | full_bottle | |
| brand | No | Only this house | |
| limit | No | ||
| cursor | No | ||
| market | Yes | Two-letter country code (SA, EG, AE…) |