Get a saved trip
get_tripReturns a trip's current plan, stated preferences and version history.
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": {
"trip_id": "<trip_id>"
},
"name": "get_trip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | 1-indexed day numbers to include. | |
| trip_id | Yes | ||
| version | No | Version number to inspect; defaults to current. | |
| versions_before | No | Lists the 10 versions before this number instead of the newest. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | ||
| trip | No | ||
| accepted | No | ||
| versions | Yes | ||
| next_action | No | ||
| preferences | No | ||
| couldnt_check | No | ||
| provenance_rules | No | Facts are sourced, unverified, stale or not_checked. Prices are live, estimate or none; hotel and flight prices are never estimated. | |
| couldnt_check_more | No |