List trips
list_tripsThe traveller's trips with their ids and dates: upcoming ones (including any under way) soonest first, or past ones latest first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_trips"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| when | No | Upcoming (default) or past trips | |
| limit | No | How many, at most 50 (default 20) |