hub_transit
Ask the Swiss public-transport API for one connection between two station names. This does not sell a ticket. Does not spend points and does not accept a URL. If you supply fields, the hub returns privacy_consent_required until the controller has accepted the current privacy version. Do not invent that acceptance.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "hub_transit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes |