search_trips
Search for trips between an origin and destination on a specific date. Provide travel date, passenger counts, and provider to retrieve available booking options.
Instructions
Search for available trips between an origin and destination on a specific date.
Args:
origin_name: The name of the origin location (e.g., 'Mwanza').
destination_name: The name of the destination location (e.g., 'Dodoma').
travel_date: The travel date in YYYY-MM-DD format.
provider: The booking provider name. Default is 'bus'.
adults: Number of adult passengers.
children: Number of child passengers.
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_name": "<origin_name>",
"destination_name": "<destination_name>",
"travel_date": "<travel_date>"
},
"name": "search_trips"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adults | No | ||
| children | No | ||
| provider | No | bus | |
| origin_name | Yes | ||
| travel_date | Yes | ||
| destination_name | Yes |