get_destinations
List available destinations for a given origin. Provide an origin ID and optional provider to retrieve destination location options.
Instructions
Get a list of available destination locations for a given origin.
Args:
origin_id: The ID of the origin location.
provider: The booking provider name. Default is 'bus'.
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": {
"origin_id": "<origin_id>"
},
"name": "get_destinations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | bus | |
| origin_id | Yes |