Search STPT stops
search_stopsLocate STPT stops by stop code, name fragment, or line number with diacritic-insensitive matching, returning up to 50 results.
Instructions
Search the bundled STPT network by stop ID, stop name, or line. Uses diacritic-insensitive matching. Returns up to 50 stops.
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": {
"query": "<query>"
},
"name": "search_stops"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of stops to return. | |
| query | Yes | Stop code, stop name fragment, or line number. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| error | No | Structured failure, if any. | |
| query | Yes | ||
| stops | No | ||
| status | Yes | Overall result status. | |
| provenance | No | Source and freshness metadata. |