get_fare_prices
Download a BODS fares dataset and extract published fare prices as structured JSON, optionally filtered by origin or destination tariff zone.
Instructions
Download a BODS fares dataset (NeTEx) and extract its published fare prices as structured JSON, optionally filtered by tariff zone. Find dataset ids with the fares catalogue passthrough tool (Data_set_api_v1_fares_dataset).
Parameters: dataset_id: Fares dataset id from the fares catalogue. origin_zone: Optional start tariff zone ref to filter by. destination_zone: Optional end tariff zone ref to filter by.
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": {
"dataset_id": "<dataset_id>"
},
"name": "get_fare_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset_id | Yes | ||
| origin_zone | No | ||
| destination_zone | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |