List STPT routes
list_routesLists STPT transit routes from a bundled GTFS snapshot and filters them by vehicle mode, helping users browse available tram, bus, trolleybus, vaporetto, metropolitan, and express services.
Instructions
List STPT tram, trolleybus, bus, metropolitan, express, and vaporetto routes from the bundled GTFS-derived network snapshot.
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": "list_routes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Optional mode filter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| error | No | Structured failure, if any. | |
| routes | No | ||
| status | Yes | Overall result status. | |
| provenance | No | Source and freshness metadata. |