Cheapest fares across a day
db_best_priceFind the cheapest available fare for each time band of a travel day and see the matching connection, helping you choose when to go.
Instructions
Bestpreissuche: the cheapest available fare in each time band of a day (00–07, 07–10, 10–13, 13–16, 16–19, 19–24) with the connection it applies to. Use for 'when is it cheapest to go'. Typically only meaningful for long-distance routes booked in advance.
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": {
"from_station": "<from_station>",
"to_station": "<to_station>",
"date": "<date>"
},
"name": "db_best_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | 'YYYY-MM-DD' — the travel day | |
| adults | No | ||
| bahncard | No | ||
| to_station | Yes | ||
| first_class | No | ||
| from_station | Yes | ||
| children_ages | No | ||
| regional_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |