rail-traffic-info
Fetch rail traffic alerts and disruptions with filters for language, time range, and location to keep travelers informed.
Instructions
Fetch rail traffic information
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "rail-traffic-info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language code for responses (de, fr, it, en). Affects message content language | |
| limit | No | Maximum number of traffic info entries to return (1-100) | |
| where | No | Filter conditions for traffic info. Examples: 'validitybegin >= NOW()', 'description LIKE "*Zürich*"' | |
| offset | No | Number of traffic info entries to skip for pagination | |
| refine | No | Refine by specific facets. Example: 'author:SBB' to show only SBB notifications | |
| select | No | Fields to select in the response. Examples: 'title,description' for basic info, 'title,validitybegin,validityend' for timing info | |
| exclude | No | Exclude specific fields from response. Example: 'description_html' to exclude HTML formatting | |
| group_by | No | Group traffic info by specific fields. Example: 'author' to group by the author of the traffic info | |
| order_by | No | Sort traffic info. Example: 'validitybegin ASC' for chronological order, 'published DESC' for newest first | |
| timezone | No | Timezone for validity and publication times. Example: 'Europe/Zurich' for local Swiss time | UTC |
| include_links | No | Include related links in response | |
| include_app_metas | No | Include application metadata |