MCP Reference
TOOL Booking confirm: true

Approve Booking

anamaya_booking_approve

Approve flight and/or hotel lines on a booking (approver OMS account). 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 Booking to approve.
flightIds number[] [] Flight line ids to approve (optional).
hotelIds number[] [84] Hotel line ids to approve (optional).

Notes

  • Use an OMS approver account. Align approver emails with client knowledge packs.