List intercity terminals
list_intercity_terminalsSearch intercity bus terminals and retrieve terminal IDs filtered by terminal name or city code to support departure lookups.
Instructions
List or search intercity bus terminals (terminalId), optionally filtered by terminalNm or cityCode, for find_intercity_bus_departures.
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_intercity_terminals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-1000); defaults to 1 | |
| cityCode | No | TAGO city code from a city-list tool, including list_pm_providers for personal mobility | |
| pageSize | No | Maximum items per page (1-100); defaults to 10 | |
| terminalNm | No | Partial terminal name to search |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| sourceUrl | Yes | ||
| catalogUrl | Yes | ||
| observedAt | Yes | ||
| totalCount | Yes | ||
| sourceService | Yes |