Price Trend
get_price_trendPrice history of an audiobook's currently-displayed cheapest offer: window min/max, current price, % drop, whether it is at its floor, and the raw points. Use to answer "is this a good price right now / has it dropped?". Returns null when there is no recorded history in 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": {
"author_slug": "<author_slug>",
"work_slug": "<work_slug>"
},
"name": "get_price_trend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| work_slug | Yes | Work slug (lowercase, hyphenated). Example: "netopyr". | |
| author_slug | Yes | Author slug (lowercase, hyphenated). Example: "jo-nesbo". | |
| window_days | No | Look-back window in days. 1–365, default 90. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes |