Update Tracked Flight Route
update_routePartially update an existing tracked flight route belonging to the authenticated user. Only the fields supplied in the request are modified; omitted fields remain unchanged (pass null to clear optional fields such as return_date, max_stops, fallback_target_price, or extra_legs). Usage guidelines: call list_routes first to obtain the exact route UUID, and confirm major changes (such as dates or airports) with the user. Returns { route } containing the updated route record. Failure modes: returns an error if id is missing or malformed, if no updatable fields are provided, if the route does not exist or belongs to another user, or if validation fails.
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": {
"id": "<id>"
},
"name": "update_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | UUID of the tracked route to update, obtained from list_routes (e.g. '550e8400-e29b-41d4-a716-446655440000'). | |
| legs | No | Updated ordered flight legs for multi-city/open-jaw mode, or null to clear | |
| name | No | Updated human-readable trip label, e.g. 'Toronto to Tokyo (Spring)' | |
| origin | No | Updated origin 3-letter IATA airport code(s), comma-separated, e.g. 'YYZ' | |
| max_stops | No | Updated max stops filter (0 = Nonstop, 1 = Max 1 stop, 2 = Max 2 stops, null = Any) | |
| trip_days | No | Updated round-trip duration in days for flexible range, or null for one-way | |
| extra_legs | No | Updated train, bus, ferry, or regional flight legs, or null to clear | |
| depart_date | No | Updated departure date or start of flexible window in YYYY-MM-DD format | |
| destination | No | Updated destination 3-letter IATA airport code(s), comma-separated, e.g. 'HND,NRT' | |
| return_date | No | Updated return date in YYYY-MM-DD format, or null to switch to one-way | |
| checked_bags | No | Updated default checked bags for both directions (0-2) | |
| carry_on_bags | No | Updated carry-on bags included in Google Flights search (0-2) | |
| depart_date_end | No | Updated end of flexible departure window in YYYY-MM-DD format, or null to disable flexible range | |
| checked_bags_return | No | Optional return-only checked bags override (0-2, or null to inherit checked_bags) | |
| checked_bags_outbound | No | Optional outbound-only checked bags override (0-2, or null to inherit checked_bags) | |
| fallback_target_price | No | Updated manual max price alert threshold in the user's currency, or null to use automatic targets |