MCP Reference
TOOL Status

Fetch Files (E-ticket)

anamaya_files_fetch

Fetch issued travel documents (e.g. e-ticket PDF) as base64 after booking reaches ISSUED.

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.

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.
type Required string (HOTEL | FLIGHT) FLIGHT Document domain type.
partnerBookingId Required string PB-EXAMPLE Partner booking id from OMS booking details.

Notes

  • Success result shape: { contentType, base64, byteLength }.