Get Route Price History
get_price_historyRetrieve chronological price-check history and trend statistics for one of the authenticated user's tracked routes. Returns { route_id, name, currency, series[] } where each series includes route_key, checks_count, latest_price, average_price, min_price, max_price, trend_direction ('up' | 'down' | 'flat' | 'insufficient_data'), and chronological points[{ checked_at, price, typical_low }]. Usage guidelines: call list_routes first to look up the route UUID; use this when the user asks whether fares are rising or falling or whether to buy now vs wait. Returns an empty points array if the route has not been checked yet. Failure modes: returns an error if id is missing, malformed, or does not belong to the authenticated user.
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": {
"id": "<id>"
},
"name": "get_price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | UUID of the tracked route, obtained from list_routes (e.g. '550e8400-e29b-41d4-a716-446655440000'). | |
| limit | No | Maximum number of most recent price checks to return per route series (default 30, range 1-180). |