list_routes
Find public transit routes for a city, with optional search by name or number.
Instructions
Lists public transit routes/lines for a supported city with optional search filtering.
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": {
"city": "<city>"
},
"name": "list_routes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City identifier or alias (e.g. 'msp', 'boston', 'sf_bart', 'chicago', 'portland') | |
| query | No | Optional search query (e.g. 'Red', 'Blue', 'Green', '66') |