Get ticket URL
get_ticket_urlGenerate a compact ticket purchase URL for bus races at a destination on a specified date, or for a specific race ID, enabling direct access to booking pages.
Instructions
Return a compact ticket purchase URL for a bus station race when available.
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": {
"destinationId": "<destinationId>",
"date": "<date>"
},
"name": "get_ticket_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Trip date in dd.mm.yyyy format. | |
| raceId | No | Optional race id. If omitted, returns all available race URLs. | |
| destinationId | Yes | Destination id from search_bus_station_destinations. |