MCP Reference
TOOL Booking confirm: true

Add Flights

anamaya_booking_add_flights

Attach selected flight inventory to a booking. Confirm-gated.

Authorization

Optional MCP gate: Authorization: Bearer <MAYA_ANAMAYA_MCP_API_TOKEN>. Required OMS identity: pass email and password on the tool call. MCP caches the OMS JWT server-side and never returns it to the LLM. This mutation requires confirm: true after human approval.

Parameters

Name Type Example Description
email Required string user@company.com OMS user email. Required on inventory and mutation tools (unless demo server env defaults are set).
password Required string •••••••• OMS user password. MCP exchanges this for a JWT and caches it server-side — the JWT is never returned to the LLM.
confirm Required boolean true Must be true for mutating tools. Without it, MCP refuses and performs no OMS write.
bookingId Required number | string 316 Target booking id.
body Required object — Flight selection payload from live search results.

Notes

  • Only attach offers returned by anamaya_flight_search in the same session.