Skip to main content
Trips, flights and bookings
MCP tools

Trips, flights and bookings tools

Look up flights, track bookings, build trips and watch for upgrade space. Arguments, plans and example calls for each tool.

Look up flights, track bookings, build trips and watch for upgrade space. Each tool below lists its plan, behaviour, arguments and an example call. See the tools overview for how calls work.

lookup_flight

Identify a flight code. Plan: Free. Read-only.

Identify the airline behind a pasted flight code (e.g. 'BA117', 'AA 1234'). Returns carrier name, country, and — when ATF supports the airline — the slug and loyalty program so the assistant can pre-fill an add_flight_booking call. Use this any time a user pastes or types a raw flight code without context.

Argument Type Required Description
flight_code string Yes A flight code like 'BA117', 'AA 1234', or 'EK521'.

Example prompt: "Look up flight BA117 on 15 June."

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "lookup_flight",
    "arguments": {
      "flight_code": "<flight_code>"
    }
  }
}

get_flight_status

Get live flight status. Plan: Free. Read-only.

Live status of a flight: on time, delayed, cancelled, departed or landed, with scheduled, estimated and actual times, terminal, gate, baggage belt, delay minutes and aircraft. Pass booking_id for one of the user's saved flight bookings, or flight_number plus date for any flight.

Argument Type Required Description
booking_id integer No Id of a saved flight booking (from list_flight_bookings).
flight_number string No Flight code such as BA117 or AA 100.
date string No Local departure date, YYYY-MM-DD. Defaults to today.

Example prompt: "Is BA117 on time today?"

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_flight_status",
    "arguments": {}
  }
}

get_trip_status

Get live trip status. Plan: Free. Read-only.

Live progress of the signed-in user's trip: a timeline of flights and hotel stays in order, the current moment (check-in today, night 2 of 4, checkout today, departs today), a countdown to the next item, and loyalty points still expected or missing from completed stays and flights. Use for 'what's next on my trip?', 'when do I check in?', or 'did my points post?'. Pass a trip slug or id; without one it uses the trip in progress or the next one.

Argument Type Required Description
trip string No Optional trip slug or id. Omit for the current or next trip.
json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_trip_status",
    "arguments": {}
  }
}

get_trip_briefing

Get a trip briefing. Plan: Premium. Read-only.

Combine FlightSeatmap and FlightQueue data for a planned flight: aircraft and seatmap availability plus airport delay and security-wait snapshots. Use when a user asks how to prepare for a flight or wants one live flight brief.

Argument Type Required Description
flight_number string Yes Flight code such as BA117 or AA 100.
flight_date string No Optional departure date.
origin string No Optional departure airport IATA code.
destination string No Optional arrival airport IATA code.
json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_trip_briefing",
    "arguments": {
      "flight_number": "BA117"
    }
  }
}

list_trips

List trips. Plan: Free. Read-only.

List the signed-in user's trips (their trip-as-project workspaces) with destination, dates, status, and itinerary section count.

Argument Type Required Description
status string No Filter by status (default: all). One of all, active, archived, planning, booked, or completed.

Example prompt: "What trips do I have coming up?"

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_trips",
    "arguments": {}
  }
}

create_trip

Create a trip. Plan: Free. Saves data to your account.

Create a new trip (a project workspace grouping chats, searches, monitors, and bookings). Accounts have a limit on active trips.

Argument Type Required Description
name string Yes Trip name, e.g. 'Tokyo with the family'.
destination string No Primary destination (city or airport).
start_date string No Date as YYYY-MM-DD.
end_date string No Date as YYYY-MM-DD.

Example prompt: "Create a trip called Tokyo spring with my flight and hotel bookings."

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_trip",
    "arguments": {
      "name": "<name>"
    }
  }
}

delete_trip

Archive or delete a trip. Plan: Free. Changes or deletes data.

Archive a trip, or delete it permanently. Archiving keeps the trip and its itinerary but frees the active-trip slot; bookings, monitors and chats filed under it are always kept and simply unfiled. Before a permanent deletion, confirm with the user: clients with confirmation dialogs ask them; otherwise the first call deletes nothing and you call again with confirm true after the user agrees.

Argument Type Required Description
trip_id integer Yes Trip id to remove. Use list_trips to find it.
permanently boolean No Delete the trip and its itinerary for good instead of archiving. Defaults to false.
confirm boolean No Set true only after the user agrees. Clients that show confirmation dialogs ask the user themselves.
json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "delete_trip",
    "arguments": {
      "trip_id": 1
    }
  }
}

assign_bookings_to_trip

Add bookings to a trip. Plan: Free. Saves data to your account.

File existing flight and/or hotel bookings under a workspace Trip so the portfolio shows them grouped as one trip. Get the trip id from list_trips / create_trip and booking ids from list_flight_bookings / list_hotel_bookings. Pass an empty array (or omit) for a booking type you're not moving.

Argument Type Required Description
trip_id integer Yes Target workspace Trip id.
flight_booking_ids array of integer No Flight redemption ids to file under the trip.
hotel_booking_ids array of integer No Hotel booking ids to file under the trip.
json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "assign_bookings_to_trip",
    "arguments": {
      "trip_id": 1
    }
  }
}

group_bookings_into_trips

Group bookings into trips. Plan: Free. Saves data to your account.

Group the user's ungrouped flight and hotel bookings into trips in one pass. Bookings are linked when they share a multi-leg trip_id or a confirmation number, and otherwise when their dates are within gap_days of each other. Each group is filed under an existing active trip with overlapping dates and a matching destination, or under a new trip named after the destination and month. Defaults to a dry run that only proposes the groups. Show the proposal to the user, then call again with dry_run false (optionally with only_groups to apply some) to apply it. Accounts have a limit on active trips, so extra new trips can be skipped. To file specific bookings yourself use assign_bookings_to_trip.

Argument Type Required Description
dry_run boolean No Propose only. Defaults to true. Pass false to apply after the user confirms.
gap_days integer No Bookings whose dates are this many days apart or fewer are grouped. Defaults to 2. Minimum 0. Maximum 14.
only_groups array of string No Group ids from the dry run to apply, from the dry run with the same gap_days. Omit to apply all.
json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "group_bookings_into_trips",
    "arguments": {}
  }
}

update_itinerary

Update a trip itinerary. Plan: Premium. Changes or deletes data.

Write a section onto a trip's itinerary canvas — the persistent, editable trip document the agent builds. Appends a new section, or updates an existing one when section_id is given. Returns the full updated canvas.

Argument Type Required Description
trip_id integer No Target trip. Omit it only when the user has one active trip (it is used) or none (a new trip is made). With more than one active trip, clients with dialogs ask the user which one; otherwise the call returns the trips so you can ask.
section_id string No Existing section id to update. Omit to append a new section.
heading string Yes Section heading, e.g. 'Outbound flight' or 'Hotel: Tokyo'.
body string Yes Section body in markdown.
kind string No Section kind (default: note). One of flight, hotel, note, or budget.
json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_itinerary",
    "arguments": {
      "heading": "<heading>",
      "body": "<body>"
    }
  }
}

plan_trip

Plan an award trip. Plan: Premium. Read-only.

Plan an end-to-end award trip in one call. Searches all airlines, ranks options against the user's balances + active transfer bonuses, and surfaces a route — including transfer paths if the user is short on points.

Argument Type Required Description
origin string Yes 3-letter IATA airport code, for example JFK.
destination string Yes 3-letter IATA airport code, for example JFK.
date string Yes Date as YYYY-MM-DD.
cabin string No One of economy, premium_economy, business, or first.
passengers integer No Minimum 1. Maximum 9.
flexibility_days integer No Optional ± days flexibility — if set, also probes adjacent dates. Minimum 0. Maximum 14.

Example prompt: "Plan a week in Japan using my points."

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "plan_trip",
    "arguments": {
      "origin": "JFK",
      "destination": "LHR",
      "date": "2027-02-15"
    }
  }
}

list_flights

Compare award and cash flights. Plan: Premium. Read-only.

List flights for a route and date — award seats from every live airline source AND cash fares — each priced in the popular card points currencies (Chase UR, Amex MR, Capital One, Citi ThankYou, Bilt, Wells Fargo, US Bank). Award rows show the transfer cost from each currency (live ratios and bonuses); cash rows show the travel-portal cost. Sorted cheapest first. Use get_flight with an id for the full table and booking steps.

Argument Type Required Description
origin string Yes Departure airport IATA code.
destination string Yes Arrival airport IATA code.
date string Yes Date as YYYY-MM-DD.
cabin string No Default economy. One of economy, premium_economy, business, or first.
type string No Default all. One of all, award, or cash.
limit integer No Default 20. Minimum 1. Maximum 40.
json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_flights",
    "arguments": {
      "origin": "JFK",
      "destination": "LHR",
      "date": "2027-02-15"
    }
  }
}

get_flight

Get flight price breakdown. Plan: Premium. Read-only.

Full points-price table and booking steps for one flight from list_flights: what it costs in every card currency, whether to transfer or use the travel portal, the transfer path, bonus and speed, and the programme's taxes.

Argument Type Required Description
flight_id string Yes Id from list_flights, e.g. LHR_JFK_2026-11-10_business_3.
json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_flight",
    "arguments": {
      "flight_id": "<flight_id>"
    }
  }
}

add_flight_booking

Add a flight booking. Plan: Premium. Saves data to your account.

Log a flight booking/redemption - award (points) or cash (paid with money; set kind:"cash" and cash_paid). For multi-leg trips (connecting flights, open-jaw, return), call this once per leg using the same trip_id - put the total cost on the first leg and 0 on subsequent legs. Fields can be extracted from booking confirmation emails. For an award booking the response includes suggested_balance_update (program, current balance, points, new balance) when the user has a saved balance for that program: ask the user, then pass deduct_points_from_balance true here, or later on update_flight_booking.

Argument Type Required Description
airline string Yes
origin string Yes 3-letter IATA airport code, for example JFK.
destination string Yes 3-letter IATA airport code, for example JFK.
departure_date string Yes Date as YYYY-MM-DD.
kind string No award = points/miles redemption (default); cash = paid with money. Defaults to award. One of award or cash.
points_spent integer No Award bookings only. Total points for this leg. Use 0 for connecting legs — put the full booking cost on the first leg only. Minimum 0.
program string No Award bookings only. Loyalty program used.
cash_paid number No Cash bookings only. Total cash fare paid for this leg, in taxes_currency (default USD). Minimum 0.
cabin_class string Yes One of economy, premium_economy, business, or first.
trip_id string No Optional UUID grouping legs of the same multi-leg booking. Generate once and reuse for all legs. Omit for single-leg bookings.
workspace_trip_id integer No Optional id of a workspace Trip (from create_trip / list_trips) to file this flight under, so it shows grouped with the matching hotels. Distinct from trip_id, which only chains multi-leg legs.
flight_number string No
return_date string No Date as YYYY-MM-DD.
taxes_paid number No
taxes_currency string No Currency for taxes_paid and cash_paid. Defaults to USD.
passengers integer No Minimum 1.
confirmation_number string No
notes string No
deduct_points_from_balance boolean No Award bookings only. True subtracts the booking's points from the user's saved balance for the same program, once per booking, never below 0. Set it only after the user agrees. Without it the response carries suggested_balance_update so you can ask first.

Example prompt: "Add my booking: BA117 from JFK to LHR on 15 June, confirmation ABC123."

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "add_flight_booking",
    "arguments": {
      "airline": "<airline>",
      "origin": "JFK",
      "destination": "LHR",
      "departure_date": "2027-02-15",
      "cabin_class": "economy"
    }
  }
}

list_flight_bookings

List flight bookings. Plan: Free. Read-only.

List all tracked flight award bookings/redemptions. Shows airlines, routes, points spent, and cabin classes.

This tool takes no arguments.

Example prompt: "Show my upcoming flight bookings."

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_flight_bookings",
    "arguments": {}
  }
}

get_flight_booking

Get a flight booking. Plan: Free. Read-only.

Get details of a specific flight booking/redemption.

Argument Type Required Description
booking_id integer Yes Minimum 1.
json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_flight_booking",
    "arguments": {
      "booking_id": 1
    }
  }
}

update_flight_booking

Update a flight booking. Plan: Premium. Changes or deletes data.

Update a tracked flight booking. Use to correct details or add confirmation numbers. Do NOT use this to cancel a booking - use delete_flight_booking instead. Confirm with the user before it overwrites saved data. Pass deduct_points_from_balance true (alone or with other fields) to subtract an award booking's points from the matching saved balance after the user agrees; it applies once per booking.

Argument Type Required Description
booking_id integer Yes Minimum 1.
airline string No
flight_number string No
origin string No 3-letter IATA airport code, for example JFK.
destination string No 3-letter IATA airport code, for example JFK.
departure_date string No Date as YYYY-MM-DD.
return_date string No Date as YYYY-MM-DD.
cabin_class string No One of economy, premium_economy, business, or first.
kind string No One of award or cash.
points_spent integer No Minimum 0.
program string No
cash_paid number No Minimum 0.
taxes_paid number No
trip_id string No
confirmation_number string No
notes string No
deduct_points_from_balance boolean No Award bookings only. True subtracts the booking's points from the user's saved balance for the same program, once per booking, never below 0. Set it only after the user agrees. Without it the response carries suggested_balance_update so you can ask first.
json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_flight_booking",
    "arguments": {
      "booking_id": 1
    }
  }
}

delete_flight_booking

Delete a flight booking. Plan: Premium. Changes or deletes data.

Cancel or remove a tracked flight booking. Use this when the user says the flight is cancelled, superseded, no longer happening, or asks to remove/archive it. This cannot be undone, so confirm with the user first: clients with confirmation dialogs ask them; otherwise the first call deletes nothing and you call again with confirm true after the user agrees.

Argument Type Required Description
booking_id integer Yes Minimum 1.
confirm boolean No Set true only after the user agrees. Clients that show confirmation dialogs ask the user themselves.
json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "delete_flight_booking",
    "arguments": {
      "booking_id": 1
    }
  }
}

import_booking

Import a booking. Plan: Premium. Changes or deletes data.

Import a flight or hotel booking from a confirmation. Pass text (the pasted confirmation email or booking text, e.g. from the user's message or a Gmail/Outlook search result) or document_id (a file the user uploaded, from search_my_documents). New bookings are added at once and filed into the matching trip. A credit card email (an issuer approval, welcome or statement email) never adds a card: the result has kind card and a card_suggestions list. Show it to the user and call confirm_card_suggestion only if they agree. A change or cancellation is NOT applied: the result has status pending_confirmation and an import_id. Show the user what will change, and only if they agree call this tool again with import_id and confirm: true. Low-confidence reads go to the user's review inbox.

Argument Type Required Description
text string No The full confirmation text: email subject and body, or the text of a booking document.
subject string No Optional email subject line.
document_id integer No Optional id of a document the user uploaded.
import_id integer No With confirm: true, the import_id of a pending change or cancellation the user agreed to.
confirm boolean No Set to true, with import_id, only after the user agrees to apply the change or cancellation.
json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "import_booking",
    "arguments": {}
  }
}

get_booking_inbox

Get my booking inbox address. Plan: Free. Saves data to your account.

Get the user's private email forwarding address for booking confirmations, creating it on first use. Forwarding a flight or hotel confirmation to this address adds it to the user's bookings. Forwarding a credit card approval, welcome or statement email creates a card suggestion; see list_card_suggestions.

This tool takes no arguments.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_booking_inbox",
    "arguments": {}
  }
}

get_calendar_feed

Get my calendar feed. Plan: Free. Saves data to your account.

Get the user's private calendar subscription link. Subscribe to it in Google, Apple or Outlook calendar and upcoming hotel stays and flights stay in sync. Past and cancelled bookings are not included. The link is a secret: only share it with the user.

This tool takes no arguments.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_calendar_feed",
    "arguments": {}
  }
}

regenerate_calendar_feed

Replace my calendar feed link. Plan: Free. Changes or deletes data.

Replace the user's private calendar subscription link with a new one. The old link stops working, so every calendar app subscribed to it must be updated. Use only if the link leaked or the user asks. Confirm with the user first: clients with confirmation dialogs ask them; otherwise the first call changes nothing and you call again with confirm true after the user agrees.

Argument Type Required Description
confirm boolean No Set true only after the user agrees. Clients that show confirmation dialogs ask the user themselves.
json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "regenerate_calendar_feed",
    "arguments": {}
  }
}

list_upgrade_options

List upgrade options. Plan: Free. Read-only.

The Upgrades page: the user's upcoming bookings that can move up a cabin, the next cabin up, which held upgrade vouchers fit each one, and whether an upgrade watch already exists. Use watch_upgrade_space to start a watch.

This tool takes no arguments.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_upgrade_options",
    "arguments": {}
  }
}

watch_upgrade_space

Watch for upgrade space. Plan: Free. Saves data to your account.

Watch one of the user's flight bookings for award space in the next cabin up, so they can use an upgrade or rebook. Creates a route monitor for the booking's date and route. Needs a plan that includes upgrade watch. Get the id from list_upgrade_options.

Argument Type Required Description
flight_booking_id integer Yes Flight booking id from list_upgrade_options or list_flight_bookings.
json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "watch_upgrade_space",
    "arguments": {
      "flight_booking_id": 1
    }
  }
}
Award Travel Finder docs Home · Pricing · Coverage · Markdown · Feedback