MarkdownPORTAL

Tumodo MCP tools

Everything the assistant can do in Tumodo on your behalf: what it reads, what it changes, and where it stops to ask you.

35tools in the catalog
21only read data
14in 7 confirmed actions

In your app this catalog is folded into 7–9 tools. How it works

Nothing changes without your yes

  1. The assistant preparesIt checks rules, documents, and budget, and shows the summary and the price. Nothing is saved at this step.
  2. You confirmYou reply in the chat that you agree.
  3. The action runsOnce, and exactly as you saw it. If the price has changed, the assistant asks again.

This is how trip creation, confirm employee profile update, confirm employee document change, confirm employee card change, confirm employee absence change, flight booking, and ticket issuing work. All other tools only read data.

Common workflows

The assistant picks the tools and calls them in order. This is what typical tasks look like.

Find and book a flight“I need to be in Berlin on Wednesday, back on Friday, with a bag”
Set up a business trip“Prepare a trip to Berlin for me and Smith”
Issue a ticket for a booking“Which bookings have deadlines coming up? Issue the Berlin ticket”
Review a trip and its expenses“What is the refund penalty, and where is my advance report?”

Profile & companies

3On the consent screen: Read

Your profile, role, companies, active company switch, travel policies, and daily allowances.

Profile & rolecontext_getShows your profile, company, role, and what you are allowed to do.Read
Ask in the chat
Who am I in Tumodo and what can I do here?
Parameters

No parameters: the tool is called without arguments.

  • In your app: direct
  • Read-only
  • Safe to repeat
  • mcp:read
Call examples 1

Verify caller context at conversation start

{}
Description for the model

Returns verified user profile (home departure city, home rail hub, department, position), active company, corporate role, scope bounds, pending approvals count, and capabilities. CALL WHEN: starting a conversation to inspect caller context, default departure city or rail hub, and permissions. DO NOT CALL: to search flights (use avia_search), hotels, employees (use employee_search), read travel policies (use policy_get), or list/create trips.

JSON Schema
{
  "additionalProperties": false,
  "type": "object"
}
Active companycompany_selectLists your companies and switches the active one for this chat.Read
Ask in the chat
Switch to Alpha Logistics.

The switch applies to this chat only.

Parameters
company_idinteger
Target company identifier (>= 1) to set as active in this dialog. Pass only a company_id explicitly provided by the user or returned by context_get or company_select in this conversation; never guess or reuse IDs from other conversations.
querystring
Substring query (3..=120 chars, excluding bare legal forms) to filter or search companies.

Technical descriptions are shown as the model sees them.

  • In your app: direct
  • Read-only
  • Safe to repeat
  • mcp:read
Call examples 2

Search accessible companies by name

{
  "query": "Alpha"
}

Switch active dialog company by ID

{
  "company_id": 10
}
Description for the model

Lists, searches, and switches the active working company for this dialog. CALL WHEN: inspecting holding companies, searching client companies as an agency manager, or switching active company via company_id or query. DO NOT CALL: for single-company employees, private trip mode, or searching flights, hotels, employees (use employee_search), or trips.

JSON Schema
{
  "additionalProperties": false,
  "properties": {
    "company_id": {
      "default": null,
      "description": "Target company identifier (`>= 1`) to set as active in this dialog. Pass only a `company_id` explicitly provided by the user or returned by `context_get` or `company_select` in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "query": {
      "default": null,
      "description": "Substring query (`3..=120` chars, excluding bare legal forms) to filter or search companies.",
      "maxLength": 120,
      "minLength": 3,
      "type": [
        "string",
        "null"
      ]
    }
  },
  "type": "object"
}
Travel policy & allowancespolicy_getShows which travel policies and daily allowances apply to you or to your employee.Read
Ask in the chat
What is my flight limit, and what is the daily allowance in Berlin?
Parameters
company_idinteger
Target company identifier (>= 1) overriding the active dialog company for this lookup. Pass only a company_id explicitly provided by the user or returned by context_get or company_select in this conversation; never guess or reuse IDs from other conversations.
include_custom_rulesboolean
Include corporate custom text travel policy rules (custom_rules), default true.
include_daily_allowancesboolean
Include corporate daily allowance rates (daily_allowances), default true.
policies_offsetinteger
Zero-based pagination offset across loaded policies when a catalog exceeds 10 policies (default 0). Pass next_policies_offset when policies_has_more=true.
rule_querystring
Optional case-insensitive filter (1..=80 chars) matching policy rule codes/settings, daily allowances or excepted countries, custom rules, and taxi country overrides when output is truncated or a focused lookup is needed.
rules_limitinteger · 1…50
Maximum number of rules returned per policy per page (1..=50, default 20).
5 more optional
rules_offsetinteger
Zero-based pagination offset into each policy's filtered rules list (default 0). Pass the returned next_rules_offset when rules are truncated.
scopeenum
Scope of lookup: effective (default) returns ONLY the active travel policies and applicable daily allowances resolved for the current employee (or permitted user_id) via profile -> primary department -> company default; company_catalog (coordinators/managers only, cannot be combined with user_id) returns all travel policies and daily allowances configured in the active company.
effectivecompany_catalog
service_typeenum
Optional service category filter (all, avia, hotel, train, rail, taxi, transfer, vip_hall, car_rental, aeroexpress, or bus, default all).
allaviahoteltrainrailtaxitransfervip_hallcar_rentalaeroexpressbus
user_idinteger
Target employee user identifier (>= 1) to inspect effective policies for a specific traveler (regular employees may only inspect themselves; coordinators may inspect permitted colleagues). Pass only a user_id explicitly provided by the user or returned by context_get or employee_search in this conversation; never guess or reuse IDs from other conversations.
values_offsetinteger
Zero-based pagination offset into long city/region/country lists inside rule settings such as regionIdRL or countryCodeRL (page size 25, default 0). Pass the returned next_values_offset when list_values_has_more=true.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_read
  • Read-only
  • Safe to repeat
  • mcp:read
Call examples 3

Read effective flight travel policy for current user

{
  "scope": "effective",
  "service_type": "avia"
}

Search colleague hotel rules and per diem for Moscow

{
  "scope": "effective",
  "user_id": 20011,
  "service_type": "hotel",
  "rule_query": "Moscow",
  "include_daily_allowances": true,
  "include_custom_rules": true
}

List company-wide policy catalog (coordinators only)

{
  "scope": "company_catalog",
  "policies_offset": 0,
  "rules_limit": 20
}

Tool arguments. With the compact list the assistant passes them through tool_read.

Description for the model

Returns ONLY the effective active corporate travel policies and applicable daily allowances resolved for the current employee (or a permitted colleague via user_id) by default (scope="effective"), including exact policy names, violation modes, assignment sources (profile, primary department, or company default), taxi restrictions, and custom text rules. Pass scope="company_catalog" only when explicitly asked for all company policies. Supports service_type, rule_query, and policies_offset/rules_offset/rules_limit/values_offset pagination. CALL WHEN: checking active travel policy limits, allowed classes/stars/caps, taxi tariffs, custom guidelines, or daily allowance rates. DO NOT CALL: to inspect advance report expenses (use advance_report_get), pending approvals/deadlines (use desktop_summary), or employees (use employee_search).

JSON Schema
{
  "$defs": {
    "PolicyScopeParam": {
      "description": "Lookup scope supported by `policy_get`.",
      "oneOf": [
        {
          "const": "effective",
          "description": "Default: returns ONLY the effective travel policies and applicable daily allowances resolved for the target employee (`profile -> primary department -> company default`).",
          "type": "string"
        },
        {
          "const": "company_catalog",
          "description": "Coordinators/managers only (cannot be combined with `user_id`): returns all travel policies and daily allowances configured in the active company.",
          "type": "string"
        }
      ]
    },
    "PolicyServiceTypeParam": {
      "description": "Service categories supported in `policy_get`.",
      "enum": [
        "all",
        "avia",
        "hotel",
        "train",
        "rail",
        "taxi",
        "transfer",
        "vip_hall",
        "car_rental",
        "aeroexpress",
        "bus"
      ],
      "type": "string"
    }
  },
  "additionalProperties": false,
  "properties": {
    "company_id": {
      "default": null,
      "description": "Target company identifier (`>= 1`) overriding the active dialog company for this lookup. Pass only a `company_id` explicitly provided by the user or returned by `context_get` or `company_select` in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "include_custom_rules": {
      "default": true,
      "description": "Include corporate custom text travel policy rules (`custom_rules`), default `true`.",
      "type": "boolean"
    },
    "include_daily_allowances": {
      "default": true,
      "description": "Include corporate daily allowance rates (`daily_allowances`), default `true`.",
      "type": "boolean"
    },
    "policies_offset": {
      "default": null,
      "description": "Zero-based pagination offset across loaded policies when a catalog exceeds 10 policies (default `0`). Pass `next_policies_offset` when `policies_has_more=true`.",
      "format": "uint32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "rule_query": {
      "default": null,
      "description": "Optional case-insensitive filter (`1..=80` chars) matching policy rule codes/settings, daily allowances or excepted countries, custom rules, and taxi country overrides when output is truncated or a focused lookup is needed.",
      "maxLength": 80,
      "minLength": 1,
      "type": [
        "string",
        "null"
      ]
    },
    "rules_limit": {
      "default": null,
      "description": "Maximum number of rules returned per policy per page (`1..=50`, default `20`).",
      "format": "uint8",
      "maximum": 50,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "rules_offset": {
      "default": null,
      "description": "Zero-based pagination offset into each policy's filtered rules list (default `0`). Pass the returned `next_rules_offset` when rules are truncated.",
      "format": "uint32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "scope": {
      "$ref": "#/$defs/PolicyScopeParam",
      "description": "Scope of lookup: `effective` (default) returns ONLY the active travel policies and applicable daily allowances resolved for the current employee (or permitted `user_id`) via profile -> primary department -> company default; `company_catalog` (coordinators/managers only, cannot be combined with `user_id`) returns all travel policies and daily allowances configured in the active company."
    },
    "service_type": {
      "$ref": "#/$defs/PolicyServiceTypeParam",
      "description": "Optional service category filter (`all`, `avia`, `hotel`, `train`, `rail`, `taxi`, `transfer`, `vip_hall`, `car_rental`, `aeroexpress`, or `bus`, default `all`)."
    },
    "user_id": {
      "default": null,
      "description": "Target employee user identifier (`>= 1`) to inspect effective policies for a specific traveler (regular employees may only inspect themselves; coordinators may inspect permitted colleagues). Pass only a `user_id` explicitly provided by the user or returned by `context_get` or `employee_search` in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "values_offset": {
      "default": null,
      "description": "Zero-based pagination offset into long city/region/country lists inside rule settings such as `regionIdRL` or `countryCodeRL` (page size `25`, default `0`). Pass the returned `next_values_offset` when `list_values_has_more=true`.",
      "format": "uint32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "type": "object"
}

Trips

9On the consent screen: Read or Actions

View trips, services, approvals, and advance reports, prepare and save trips after your confirmation.

Trip listtrip_listFinds trips by date, traveler, booking reference, or ticket number.Read
Ask in the chat
Which trips do I have planned this month?
Parameters
advance_report_not_submittedboolean
Return only trips with an unsubmitted advance report (available when context_get reports enable_filter_ao_completed=true).
analytic_idinteger
Corporate analytic category identifier (>= 1) from trip_search_field_values. Must be paired with analytic_value in a concrete company; never guess IDs or reuse IDs from other conversations.
analytic_valuestring
Analytic value substring (2..=120 chars, at least 2 non-quote chars). Must be paired with analytic_id.
approval_filterenum
Filter by order approval progress (in_progress or required).
in_progressrequired
author_idinteger
Trip author user identifier (>= 1). Pass only an author_id returned by context_get, employee_search, or another tool in this conversation; never guess or fabricate IDs.
booking_refstring
Booking reference / PNR substring (2..=40 chars, automatically uppercased).
21 more optional
city_idinteger
Destination city identifier (>= 1) from trip_search_field_values. Pass only a city_id returned by trip_search_field_values, context_get, or another tool in this conversation; never guess or reuse IDs from other conversations.
company_idinteger
Target company identifier (>= 1) overriding dialog active company for this lookup. Pass only a company_id explicitly provided by the user or returned by context_get or company_select in this conversation; never guess or reuse IDs from other conversations.
company_namestring
Substring query (2..=120 chars) matching company name (useful in holding overview).
created_date_fromstring
Filter trips created from calendar date (YYYY-MM-DD); includes empty drafts.
created_date_tostring
Filter trips created up to calendar date (YYYY-MM-DD); includes empty drafts.
cursor_before_order_idinteger
Cursor pagination marker: return orders strictly older than this order_id (>= 1). Pass only the exact cursor returned by the preceding trip_list call in this conversation; never fabricate or reuse cursors across conversations.
exclude_draftsboolean
Exclude draft-only orders.
flight_numberstring
Flight number substring (2..=20 chars, e.g. SU100); hides empty drafts.
limitinteger · 1…15
Maximum number of trips to return (1..=15, default 15).
only_myboolean
Return only trips created or participated in by the current user. Set true when the caller asks specifically for their own trips (especially for coordinators and managers who otherwise see all company or holding trips).
order_idinteger
Exact trip order identifier (>= 1). Pass only an order_id explicitly provided by the user or returned by a tool in this conversation; never guess or reuse IDs from other conversations.
passenger_namestring
Passenger full-name substring (2..=120 chars, at least 2 non-whitespace chars).
passenger_user_idinteger
Filter by passenger user identifier (>= 1). Pass only a user_id returned by context_get, employee_search, or another tool in this conversation; never guess or fabricate IDs.
query_titlestring
Substring query (2..=120 chars) matching trip title/description.
segment_departurestring
Exact flight segment departure calendar date (YYYY-MM-DD) for avia services; hides empty drafts.
service_idinteger
Exact service identifier (>= 1) within an order (hides empty drafts). Pass only a service_id explicitly provided by the user or returned by a tool in this conversation; never guess or fabricate IDs.
service_statusenum
Filter by non-zero service status.
reservedticketedannulledcancel_requestedcancelledissuingmanual_checkexchangeddeletedexpiredcancellingreservingexchanging
service_typeenum
Filter by service category.
aviahoteltransfertrainaeroexpressarbitrarytourvisaeventinvitationbusinsurancetaxibusiness_travel_passvip_hallcar_rentalavia_insurance
ticket_numberstring
Issued ticket number substring (3..=40 chars).
trip_date_fromstring
Filter services from departure or check-in date (YYYY-MM-DD); hides empty drafts.
trip_date_tostring
Filter services up to departure or return date (YYYY-MM-DD); hides empty drafts.

Technical descriptions are shown as the model sees them.

  • In your app: direct
  • Read-only
  • Safe to repeat
  • mcp:read
Call examples 2

List caller's non-draft trips

{
  "only_my": true,
  "exclude_drafts": true,
  "limit": 10
}

Find a trip by PNR booking reference

{
  "booking_ref": "AB12CD",
  "service_type": "avia"
}
Description for the model

Lists fresh corporate trips with role barriers, date/passenger/PNR filters, and cursor pagination (TTL = 0). Set only_my=true when a coordinator or manager asks specifically for their own trips (otherwise all visible company/holding trips are returned). CALL WHEN: viewing upcoming, past, draft, or pending-approval trips, or looking up a trip by order_id, passenger, PNR booking_ref, or ticket_number. DO NOT CALL: to inspect full service details, time limits, or approvers of a known order_id (use trip_get), search new flights (use avia_search) or hotels, switch companies (use company_select), or search employees and travel documents (use employee_search).

JSON Schema
{
  "$defs": {
    "ApprovalFilterParam": {
      "description": "Approval state filter supported by `trip_list`.",
      "enum": [
        "in_progress",
        "required"
      ],
      "type": "string"
    },
    "TripServiceFilterStatusParam": {
      "description": "Service booking statuses supported in `trip_list` filters (non-zero statuses only).",
      "enum": [
        "reserved",
        "ticketed",
        "annulled",
        "cancel_requested",
        "cancelled",
        "issuing",
        "manual_check",
        "exchanged",
        "deleted",
        "expired",
        "cancelling",
        "reserving",
        "exchanging"
      ],
      "type": "string"
    },
    "TripServiceTypeParam": {
      "description": "Service categories supported in `trip_list` filters.",
      "enum": [
        "avia",
        "hotel",
        "transfer",
        "train",
        "aeroexpress",
        "arbitrary",
        "tour",
        "visa",
        "event",
        "invitation",
        "bus",
        "insurance",
        "taxi",
        "business_travel_pass",
        "vip_hall",
        "car_rental",
        "avia_insurance"
      ],
      "type": "string"
    }
  },
  "additionalProperties": false,
  "properties": {
    "advance_report_not_submitted": {
      "default": false,
      "description": "Return only trips with an unsubmitted advance report (available when `context_get` reports `enable_filter_ao_completed=true`).",
      "type": "boolean"
    },
    "analytic_id": {
      "default": null,
      "description": "Corporate analytic category identifier (`>= 1`) from `trip_search_field_values`. Must be paired with `analytic_value` in a concrete company; never guess IDs or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "analytic_value": {
      "default": null,
      "description": "Analytic value substring (`2..=120` chars, at least 2 non-quote chars). Must be paired with `analytic_id`.",
      "maxLength": 120,
      "minLength": 2,
      "type": [
        "string",
        "null"
      ]
    },
    "approval_filter": {
      "anyOf": [
        {
          "$ref": "#/$defs/ApprovalFilterParam"
        },
        {
          "type": "null"
        }
      ],
      "description": "Filter by order approval progress (`in_progress` or `required`)."
    },
    "author_id": {
      "default": null,
      "description": "Trip author user identifier (`>= 1`). Pass only an `author_id` returned by `context_get`, `employee_search`, or another tool in this conversation; never guess or fabricate IDs.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "booking_ref": {
      "default": null,
      "description": "Booking reference / PNR substring (`2..=40` chars, automatically uppercased).",
      "maxLength": 40,
      "minLength": 2,
      "type": [
        "string",
        "null"
      ]
    },
    "city_id": {
      "default": null,
      "description": "Destination city identifier (`>= 1`) from `trip_search_field_values`. Pass only a `city_id` returned by `trip_search_field_values`, `context_get`, or another tool in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "company_id": {
      "default": null,
      "description": "Target company identifier (`>= 1`) overriding dialog active company for this lookup. Pass only a `company_id` explicitly provided by the user or returned by `context_get` or `company_select` in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "company_name": {
      "default": null,
      "description": "Substring query (`2..=120` chars) matching company name (useful in holding overview).",
      "maxLength": 120,
      "minLength": 2,
      "type": [
        "string",
        "null"
      ]
    },
    "created_date_from": {
      "default": null,
      "description": "Filter trips created from calendar date (`YYYY-MM-DD`); includes empty drafts.",
      "type": [
        "string",
        "null"
      ]
    },
    "created_date_to": {
      "default": null,
      "description": "Filter trips created up to calendar date (`YYYY-MM-DD`); includes empty drafts.",
      "type": [
        "string",
        "null"
      ]
    },
    "cursor_before_order_id": {
      "default": null,
      "description": "Cursor pagination marker: return orders strictly older than this `order_id` (`>= 1`). Pass only the exact cursor returned by the preceding `trip_list` call in this conversation; never fabricate or reuse cursors across conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "exclude_drafts": {
      "default": false,
      "description": "Exclude draft-only orders.",
      "type": "boolean"
    },
    "flight_number": {
      "default": null,
      "description": "Flight number substring (`2..=20` chars, e.g. `SU100`); hides empty drafts.",
      "maxLength": 20,
      "minLength": 2,
      "type": [
        "string",
        "null"
      ]
    },
    "limit": {
      "default": null,
      "description": "Maximum number of trips to return (`1..=15`, default `15`).",
      "format": "uint8",
      "maximum": 15,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "only_my": {
      "default": false,
      "description": "Return only trips created or participated in by the current user. Set true when the caller asks specifically for their own trips (especially for coordinators and managers who otherwise see all company or holding trips).",
      "type": "boolean"
    },
    "order_id": {
      "default": null,
      "description": "Exact trip order identifier (`>= 1`). Pass only an `order_id` explicitly provided by the user or returned by a tool in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "passenger_name": {
      "default": null,
      "description": "Passenger full-name substring (`2..=120` chars, at least 2 non-whitespace chars).",
      "maxLength": 120,
      "minLength": 2,
      "type": [
        "string",
        "null"
      ]
    },
    "passenger_user_id": {
      "default": null,
      "description": "Filter by passenger user identifier (`>= 1`). Pass only a `user_id` returned by `context_get`, `employee_search`, or another tool in this conversation; never guess or fabricate IDs.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "query_title": {
      "default": null,
      "description": "Substring query (`2..=120` chars) matching trip title/description.",
      "maxLength": 120,
      "minLength": 2,
      "type": [
        "string",
        "null"
      ]
    },
    "segment_departure": {
      "default": null,
      "description": "Exact flight segment departure calendar date (`YYYY-MM-DD`) for avia services; hides empty drafts.",
      "type": [
        "string",
        "null"
      ]
    },
    "service_id": {
      "default": null,
      "description": "Exact service identifier (`>= 1`) within an order (hides empty drafts). Pass only a `service_id` explicitly provided by the user or returned by a tool in this conversation; never guess or fabricate IDs.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "service_status": {
      "anyOf": [
        {
          "$ref": "#/$defs/TripServiceFilterStatusParam"
        },
        {
          "type": "null"
        }
      ],
      "description": "Filter by non-zero service status."
    },
    "service_type": {
      "anyOf": [
        {
          "$ref": "#/$defs/TripServiceTypeParam"
        },
        {
          "type": "null"
        }
      ],
      "description": "Filter by service category."
    },
    "ticket_number": {
      "default": null,
      "description": "Issued ticket number substring (`3..=40` chars).",
      "maxLength": 40,
      "minLength": 3,
      "type": [
        "string",
        "null"
      ]
    },
    "trip_date_from": {
      "default": null,
      "description": "Filter services from departure or check-in date (`YYYY-MM-DD`); hides empty drafts.",
      "type": [
        "string",
        "null"
      ]
    },
    "trip_date_to": {
      "default": null,
      "description": "Filter services up to departure or return date (`YYYY-MM-DD`); hides empty drafts.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "type": "object"
}
Trip detailstrip_getShows the whole trip: budget, approval steps, and services.Read
Ask in the chat
Show the details of my next trip.

Document numbers arrive masked.

Parameters
order_idinteger · required
Trip order identifier (>= 1) to inspect. Pass only an order_id explicitly provided by the user or returned by trip_list in this conversation; never guess or reuse IDs from other conversations.
active_services_onlyboolean
Set true when the user asks for active/non-cancelled services only (excludes cancelled, annulled, deleted, expired, and exchanged services).
passenger_namestring
Case-insensitive substring query (2..=120 chars) matching passenger full name on each service.
service_statusenum
Filter services by non-zero booking status.
reservedticketedannulledcancel_requestedcancelledissuingmanual_checkexchangeddeletedexpiredcancellingreservingexchanging
service_typeenum
Filter services by category (train covers both domestic and European rail).
aviahoteltransfertrainaeroexpressarbitrarytourvisaeventinvitationbusinsurancetaxibusiness_travel_passvip_hallcar_rentalavia_insurance
services_limitinteger · 1…50
Maximum number of services to return per page (1..=50, default 20).
services_offsetinteger
Zero-based pagination offset for the filtered service list (default 0).

Technical descriptions are shown as the model sees them.

  • In your app: direct
  • Read-only
  • Safe to repeat
  • mcp:read
Call examples 1

Inspect active services in a trip order

{
  "order_id": 26695,
  "active_services_only": true,
  "services_limit": 20
}
Description for the model

Returns detailed trip card by order_id: pre-approval budget, approval steps, masked documents, services_summary, and up to 50 filtered services per page (default 20, linked ancillaries folded as +N anc) (TTL = 0). CALL WHEN: inspecting order overview, deadlines, approvers, or filtering services in large orders. DO NOT CALL: for fee breakdowns, segments, cabin/seat/meal/policy details of specific services (use trip_service_get), listing multiple trips (use trip_list), switching companies (use company_select), searching employees and documents (use employee_search), or to open an existing trip for editing fields (use trip_prepare with order_id).

JSON Schema
{
  "$defs": {
    "TripServiceFilterStatusParam": {
      "description": "Service booking statuses supported in `trip_list` filters (non-zero statuses only).",
      "enum": [
        "reserved",
        "ticketed",
        "annulled",
        "cancel_requested",
        "cancelled",
        "issuing",
        "manual_check",
        "exchanged",
        "deleted",
        "expired",
        "cancelling",
        "reserving",
        "exchanging"
      ],
      "type": "string"
    },
    "TripServiceTypeParam": {
      "description": "Service categories supported in `trip_list` filters.",
      "enum": [
        "avia",
        "hotel",
        "transfer",
        "train",
        "aeroexpress",
        "arbitrary",
        "tour",
        "visa",
        "event",
        "invitation",
        "bus",
        "insurance",
        "taxi",
        "business_travel_pass",
        "vip_hall",
        "car_rental",
        "avia_insurance"
      ],
      "type": "string"
    }
  },
  "additionalProperties": false,
  "properties": {
    "active_services_only": {
      "default": false,
      "description": "Set `true` when the user asks for active/non-cancelled services only (excludes cancelled, annulled, deleted, expired, and exchanged services).",
      "type": "boolean"
    },
    "order_id": {
      "description": "Trip order identifier (`>= 1`) to inspect. Pass only an `order_id` explicitly provided by the user or returned by `trip_list` in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": "integer"
    },
    "passenger_name": {
      "default": null,
      "description": "Case-insensitive substring query (`2..=120` chars) matching passenger full name on each service.",
      "maxLength": 120,
      "minLength": 2,
      "type": [
        "string",
        "null"
      ]
    },
    "service_status": {
      "anyOf": [
        {
          "$ref": "#/$defs/TripServiceFilterStatusParam"
        },
        {
          "type": "null"
        }
      ],
      "description": "Filter services by non-zero booking status."
    },
    "service_type": {
      "anyOf": [
        {
          "$ref": "#/$defs/TripServiceTypeParam"
        },
        {
          "type": "null"
        }
      ],
      "description": "Filter services by category (`train` covers both domestic and European rail)."
    },
    "services_limit": {
      "default": null,
      "description": "Maximum number of services to return per page (`1..=50`, default `20`).",
      "format": "uint8",
      "maximum": 50,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "services_offset": {
      "default": null,
      "description": "Zero-based pagination offset for the filtered service list (default `0`).",
      "format": "uint32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "required": [
    "order_id"
  ],
  "type": "object"
}
Service detailstrip_service_getBreaks down one service in a trip: what the price is made of, segments, baggage, refund penalties.Read
Ask in the chat
How much will I lose if I return the Berlin ticket?
Parameters
order_idinteger · required
Trip order identifier (>= 1). Pass only an order_id explicitly provided by the user or returned by trip_list or trip_get in this conversation; never guess or reuse IDs from other conversations.
service_idsinteger[] · required
List of 1 to 5 service identifiers (>= 1 each) within the order to inspect in detail. Pass only exact service_id values returned by trip_get for this order_id; never guess or reuse service IDs from other orders or conversations.
fare_rules_offset_charsinteger · 0…128000
Zero-based character offset (0..=128000) for paginating long post-booking fare rule texts (page size 4000 chars) when include_fare_rules=true.
fare_rules_sectionenum
Section of post-booking avia fare rules to return when include_fare_rules=true: penalties (default), restrictions, or full.
penaltiesrestrictionsfull
include_fare_rulesboolean
Fetch post-booking airline fare rules (avia.tarif, serviceId > 0) for non-arbitrary avia services in service_ids. Default false to keep normal detail calls fast.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_read
  • Read-only
  • Safe to repeat
  • mcp:read
Call examples 1

Inspect booked service pricing and post-booking fare rules

{
  "order_id": 26695,
  "service_ids": [
    8550866
  ],
  "include_fare_rules": true,
  "fare_rules_section": "penalties"
}

Tool arguments. With the compact list the assistant passes them through tool_read.

Description for the model

Returns detailed client view of 1 to 5 services in an order: fee and penalty breakdown (tariff, service_fee, return_fee, penalty, pay_later, VAT), flight/rail/bus segments, baggage, branded fare, hotel room/meal/policy, car/seat/ereg, passengers, and linked ancillaries (TTL = 0). Pass include_fare_rules=true to also fetch post-booking airline fare rules (penalties, restrictions, or full text paginated by fare_rules_offset_chars) for non-arbitrary avia services. CALL WHEN: inspecting exact client pricing, segments, seats, rooms, policies, or post-booking avia fare rules for known service_id values from trip_get. DO NOT CALL: without an order_id and target service_ids (call trip_get first), to check flight issuance readiness/blockers (use avia_prepare_issue), to inspect approval steps/budget (use trip_get), or to list multiple trips (use trip_list).

JSON Schema
{
  "$defs": {
    "AviaFareRulesSectionParam": {
      "description": "Fare rules section selector supported by `avia_get_fare_rules`.",
      "oneOf": [
        {
          "const": "penalties",
          "description": "Refund, exchange, and no-show penalty sections (default).",
          "type": "string"
        },
        {
          "const": "restrictions",
          "description": "Baggage, stay, stopover, and ticket restriction sections.",
          "type": "string"
        },
        {
          "const": "full",
          "description": "Full sanitized fare rule text across all sections.",
          "type": "string"
        }
      ]
    }
  },
  "additionalProperties": false,
  "properties": {
    "fare_rules_offset_chars": {
      "default": 0,
      "description": "Zero-based character offset (`0..=128000`) for paginating long post-booking fare rule texts (page size `4000` chars) when `include_fare_rules=true`.",
      "format": "uint",
      "maximum": 128000,
      "minimum": 0,
      "type": "integer"
    },
    "fare_rules_section": {
      "$ref": "#/$defs/AviaFareRulesSectionParam",
      "description": "Section of post-booking avia fare rules to return when `include_fare_rules=true`: `penalties` (default), `restrictions`, or `full`."
    },
    "include_fare_rules": {
      "default": false,
      "description": "Fetch post-booking airline fare rules (`avia.tarif`, `serviceId > 0`) for non-arbitrary avia services in `service_ids`. Default `false` to keep normal detail calls fast.",
      "type": "boolean"
    },
    "order_id": {
      "description": "Trip order identifier (`>= 1`). Pass only an `order_id` explicitly provided by the user or returned by `trip_list` or `trip_get` in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": "integer"
    },
    "service_ids": {
      "description": "List of 1 to 5 service identifiers (`>= 1` each) within the order to inspect in detail. Pass only exact `service_id` values returned by `trip_get` for this `order_id`; never guess or reuse service IDs from other orders or conversations.",
      "items": {
        "format": "uint64",
        "minimum": 0,
        "type": "integer"
      },
      "maxItems": 5,
      "minItems": 1,
      "type": "array"
    }
  },
  "required": [
    "order_id",
    "service_ids"
  ],
  "type": "object"
}
What needs attentiondesktop_summaryCollects what is waiting for you: approvals, bookings with a buyout deadline running out, and cancellation requests.Read
Ask in the chat
What awaits my approval, and which bookings have deadlines coming up?
Parameters
company_idinteger
Target company identifier (>= 1) overriding the active dialog company for this lookup. Pass only a company_id explicitly provided by the user or returned by context_get or company_select in this conversation; never guess or reuse IDs from other conversations.
limitinteger · 1…50
Maximum number of items returned per section (1..=50, default 15).
offsetinteger
Zero-based pagination offset into each requested queue (trip_approvals, expense_approvals, deadlines, cancel_requests, default 0). Pass next_offset when has_more=true.
sectionenum
Operational section to inspect (all, approvals, deadlines, or cancel_requests, default all).
allapprovalsdeadlinescancel_requests

Technical descriptions are shown as the model sees them.

  • In your app: via tool_read
  • Read-only
  • Safe to repeat
  • mcp:read
Call examples 1

Load all operational queues for today

{
  "section": "all",
  "limit": 15
}

Tool arguments. With the compact list the assistant passes them through tool_read.

Description for the model

Returns the fresh corporate desktop operational summary (TTL = 0): trips and advance reports awaiting the caller's approval, reserved services with burning buyout time limits, and pending cancellation/refund requests. Supports section, offset, and limit pagination. CALL WHEN: the user asks what requires attention today, what awaits approval, which reservations are about to expire, or which cancellation requests are pending. DO NOT CALL: to search general trip history by dates or PNR (use trip_list), inspect full expense rows of one advance report (use advance_report_get), or read travel policy limits (use policy_get).

JSON Schema
{
  "$defs": {
    "DesktopSummarySectionParam": {
      "description": "Sections supported by `desktop_summary`.",
      "enum": [
        "all",
        "approvals",
        "deadlines",
        "cancel_requests"
      ],
      "type": "string"
    }
  },
  "additionalProperties": false,
  "properties": {
    "company_id": {
      "default": null,
      "description": "Target company identifier (`>= 1`) overriding the active dialog company for this lookup. Pass only a `company_id` explicitly provided by the user or returned by `context_get` or `company_select` in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "limit": {
      "default": null,
      "description": "Maximum number of items returned per section (`1..=50`, default `15`).",
      "format": "uint8",
      "maximum": 50,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "offset": {
      "default": null,
      "description": "Zero-based pagination offset into each requested queue (`trip_approvals`, `expense_approvals`, `deadlines`, `cancel_requests`, default `0`). Pass `next_offset` when `has_more=true`.",
      "format": "uint32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "section": {
      "$ref": "#/$defs/DesktopSummarySectionParam",
      "description": "Operational section to inspect (`all`, `approvals`, `deadlines`, or `cancel_requests`, default `all`)."
    }
  },
  "type": "object"
}
Advance reportsadvance_report_listFinds advance reports: yours and the ones waiting for your approval.Read
Ask in the chat
Show my advance reports for November.
Parameters
author_idinteger
Report creator user identifier (>= 1). Pass only an author_id returned by context_get, employee_search, or another tool in this conversation; never guess or reuse IDs from other conversations.
company_idinteger
Target company identifier (>= 1) overriding the active dialog company for this lookup. Pass only a company_id explicitly provided by the user or returned by context_get or company_select in this conversation; never guess or reuse IDs from other conversations.
created_date_fromstring
Filter reports created from calendar date (YYYY-MM-DD).
created_date_tostring
Filter reports created up to calendar date (YYYY-MM-DD).
cursor_from_idinteger
Cursor pagination marker (>= 1) from the preceding advance_report_list response. Pass only the exact next_cursor_from_id returned in this conversation; never fabricate or reuse cursors across conversations.
limitinteger · 1…15
Maximum number of advance reports to return (1..=15, default 15).
12 more optional
needs_approvalboolean
Return only advance reports currently awaiting the caller's approval.
on_approvalboolean
Return only advance reports currently in approval workflow.
only_mineboolean
Return only advance reports belonging to the current user.
order_date_fromstring
Filter reports by trip/expense period start date (YYYY-MM-DD).
order_date_tostring
Filter reports by trip/expense period end date (YYYY-MM-DD).
order_idinteger
Filter in-trip advance reports by exact business trip order identifier (>= 1; core excludes standalone without-trip reports when order_id is set — use order_passenger_id to find a standalone report in the list or pass its order_id directly to advance_report_get). Pass only an order_id explicitly provided by the user or returned by a tool in this conversation; never guess or reuse IDs from other conversations.
order_passenger_idinteger
Filter by exact advance report passenger record identifier (>= 1). Pass only an order_passenger_id returned by advance_report_list or desktop_summary in this conversation; never guess or reuse IDs from other conversations.
passenger_namestring
Employee full-name substring (2..=120 chars, at least 2 non-whitespace chars).
query_purposestring
Substring query (2..=120 chars) matching standalone report purpose (aim).
query_titlestring
Substring query (2..=120 chars) matching report title.
report_numberstring
Substring query (1..=120 chars) matching advance report string number.
user_idinteger
Filter by employee user identifier (>= 1). Pass only a user_id explicitly provided by the user or returned by context_get or employee_search in this conversation; never guess or reuse IDs from other conversations.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_read
  • Read-only
  • Safe to repeat
  • mcp:read
Call examples 1

List advance reports awaiting approval

{
  "needs_approval": true,
  "limit": 10
}

Tool arguments. With the compact list the assistant passes them through tool_read.

Description for the model

Lists and paginates fresh corporate advance reports (both attached to business trips and standalone without a trip) with tab counters (total, only_mine, needs_approval, on_approval), date/employee/order filters, and cursor pagination (TTL = 0). CALL WHEN: viewing advance reports, checking which reports await approval or belong to an employee, or finding an order_id before reading expense details. DO NOT CALL: to inspect itemized expenses, receipts, or totals of a known order_id (use advance_report_get), list trips or flight/hotel bookings (use trip_list), or read daily allowance policy rates (use policy_get).

JSON Schema
{
  "additionalProperties": false,
  "properties": {
    "author_id": {
      "default": null,
      "description": "Report creator user identifier (`>= 1`). Pass only an `author_id` returned by `context_get`, `employee_search`, or another tool in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "company_id": {
      "default": null,
      "description": "Target company identifier (`>= 1`) overriding the active dialog company for this lookup. Pass only a `company_id` explicitly provided by the user or returned by `context_get` or `company_select` in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "created_date_from": {
      "default": null,
      "description": "Filter reports created from calendar date (`YYYY-MM-DD`).",
      "type": [
        "string",
        "null"
      ]
    },
    "created_date_to": {
      "default": null,
      "description": "Filter reports created up to calendar date (`YYYY-MM-DD`).",
      "type": [
        "string",
        "null"
      ]
    },
    "cursor_from_id": {
      "default": null,
      "description": "Cursor pagination marker (`>= 1`) from the preceding `advance_report_list` response. Pass only the exact `next_cursor_from_id` returned in this conversation; never fabricate or reuse cursors across conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "limit": {
      "default": null,
      "description": "Maximum number of advance reports to return (`1..=15`, default `15`).",
      "format": "uint8",
      "maximum": 15,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "needs_approval": {
      "default": false,
      "description": "Return only advance reports currently awaiting the caller's approval.",
      "type": "boolean"
    },
    "on_approval": {
      "default": false,
      "description": "Return only advance reports currently in approval workflow.",
      "type": "boolean"
    },
    "only_mine": {
      "default": false,
      "description": "Return only advance reports belonging to the current user.",
      "type": "boolean"
    },
    "order_date_from": {
      "default": null,
      "description": "Filter reports by trip/expense period start date (`YYYY-MM-DD`).",
      "type": [
        "string",
        "null"
      ]
    },
    "order_date_to": {
      "default": null,
      "description": "Filter reports by trip/expense period end date (`YYYY-MM-DD`).",
      "type": [
        "string",
        "null"
      ]
    },
    "order_id": {
      "default": null,
      "description": "Filter in-trip advance reports by exact business trip order identifier (`>= 1`; `core` excludes standalone without-trip reports when `order_id` is set — use `order_passenger_id` to find a standalone report in the list or pass its `order_id` directly to `advance_report_get`). Pass only an `order_id` explicitly provided by the user or returned by a tool in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "order_passenger_id": {
      "default": null,
      "description": "Filter by exact advance report passenger record identifier (`>= 1`). Pass only an `order_passenger_id` returned by `advance_report_list` or `desktop_summary` in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "passenger_name": {
      "default": null,
      "description": "Employee full-name substring (`2..=120` chars, at least 2 non-whitespace chars).",
      "maxLength": 120,
      "minLength": 2,
      "type": [
        "string",
        "null"
      ]
    },
    "query_purpose": {
      "default": null,
      "description": "Substring query (`2..=120` chars) matching standalone report purpose (`aim`).",
      "maxLength": 120,
      "minLength": 2,
      "type": [
        "string",
        "null"
      ]
    },
    "query_title": {
      "default": null,
      "description": "Substring query (`2..=120` chars) matching report title.",
      "maxLength": 120,
      "minLength": 2,
      "type": [
        "string",
        "null"
      ]
    },
    "report_number": {
      "default": null,
      "description": "Substring query (`1..=120` chars) matching advance report string number.",
      "maxLength": 120,
      "minLength": 1,
      "type": [
        "string",
        "null"
      ]
    },
    "user_id": {
      "default": null,
      "description": "Filter by employee user identifier (`>= 1`). Pass only a `user_id` explicitly provided by the user or returned by `context_get` or `employee_search` in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "type": "object"
}
Advance reportadvance_report_getShows a report: daily allowances, expenses, receipts, and the balance to pay out or return.Read
Ask in the chat
How much am I owed for the Berlin trip?

Receipts come as a list; the assistant does not get the files.

Parameters
order_idinteger · required
Trip or standalone advance report order identifier (>= 1). Pass only an order_id explicitly provided by the user or returned by advance_report_list, trip_list, trip_get, or desktop_summary in this conversation; never guess or reuse IDs from other conversations.
expense_typeenum
Optional expense row category filter (all, daily, prepayment, or expenses, default all). Currency totals still reflect all items in the report.
alldailyprepaymentexpenses
limitinteger · 1…50
Maximum number of expense rows to return per page (1..=50, default 30).
offsetinteger
Zero-based pagination offset for the filtered expense rows (default 0). Pass next_expenses_offset when expenses_has_more=true.
receipts_offsetinteger
Zero-based pagination offset for attached receipt metadata (page size 30, default 0). Pass next_receipts_offset when receipts_has_more=true.
user_idinteger
Optional employee user identifier (>= 1) when inspecting a multi-passenger trip's expenses. Pass only a user_id explicitly provided by the user or returned by context_get, employee_search, or trip_get in this conversation; never guess or reuse IDs from other conversations.
without_tripboolean
Set true for standalone advance reports without a trip or false for trip expenses; omit to auto-detect.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_read
  • Read-only
  • Safe to repeat
  • mcp:read
Call examples 1

Read itemized advance report expenses and totals

{
  "order_id": 26695,
  "expense_type": "all",
  "limit": 30
}

Tool arguments. With the compact list the assistant passes them through tool_read.

Description for the model

Returns detailed advance report and trip expenses for a verified order_id (in-trip or standalone): daily allowances, prepayments, expense rows (filtered and paginated via expense_type/offset/limit), full claimed/approved/net_balance totals per currency across all rows, per-expense and order receipt metadata (paginated via receipts_offset, without binary content), and KEDO/external approval statuses (TTL = 0). CALL WHEN: inspecting expenses, receipts, net balance, or approval status for a specific order_id. DO NOT CALL: without an order_id (call advance_report_list or trip_list first), to inspect flight/hotel booking fares or segments (use trip_get or trip_service_get), or to read company daily allowance policy rates (use policy_get).

JSON Schema
{
  "$defs": {
    "AdvanceReportExpenseTypeParam": {
      "description": "Expense item type filter supported by `advance_report_get`.",
      "enum": [
        "all",
        "daily",
        "prepayment",
        "expenses"
      ],
      "type": "string"
    }
  },
  "additionalProperties": false,
  "properties": {
    "expense_type": {
      "$ref": "#/$defs/AdvanceReportExpenseTypeParam",
      "description": "Optional expense row category filter (`all`, `daily`, `prepayment`, or `expenses`, default `all`). Currency totals still reflect all items in the report."
    },
    "limit": {
      "default": null,
      "description": "Maximum number of expense rows to return per page (`1..=50`, default `30`).",
      "format": "uint8",
      "maximum": 50,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "offset": {
      "default": null,
      "description": "Zero-based pagination offset for the filtered expense rows (default `0`). Pass `next_expenses_offset` when `expenses_has_more=true`.",
      "format": "uint32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "order_id": {
      "description": "Trip or standalone advance report order identifier (`>= 1`). Pass only an `order_id` explicitly provided by the user or returned by `advance_report_list`, `trip_list`, `trip_get`, or `desktop_summary` in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": "integer"
    },
    "receipts_offset": {
      "default": null,
      "description": "Zero-based pagination offset for attached receipt metadata (page size `30`, default `0`). Pass `next_receipts_offset` when `receipts_has_more=true`.",
      "format": "uint32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "user_id": {
      "default": null,
      "description": "Optional employee user identifier (`>= 1`) when inspecting a multi-passenger trip's expenses. Pass only a `user_id` explicitly provided by the user or returned by `context_get`, `employee_search`, or `trip_get` in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "without_trip": {
      "default": null,
      "description": "Set `true` for standalone advance reports without a trip or `false` for trip expenses; omit to auto-detect.",
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "required": [
    "order_id"
  ],
  "type": "object"
}
Trip form lookupstrip_search_field_valuesFinds values for trip fields: cities, countries, cost centers, payment methods.Read
Ask in the chat
Which cost center can this trip go to?

Payment card numbers arrive masked.

Parameters
field_kindenum · required
Reference dictionary category to search.
citycountryanalyticorganisationtransport_paymentaccommodation_paymentweekend_reasonpayment_card
analytic_idinteger
Cost center analytic identifier (>= 1, required when field_kind is analytic). Pass only an analytic_id returned by trip_prepare in this conversation; never guess IDs.
company_idinteger
Target company identifier (>= 1) overriding the active dialog company. Pass only a company_id explicitly provided by the user or returned by context_get or company_select in this conversation; never guess IDs.
contact_person_idinteger
Contact person user identifier (>= 1, optional when field_kind is payment_card). Pass only a user_id returned by context_get or employee_search in this conversation; never guess IDs.
limitinteger · 1…25
Maximum number of options to return (1..=25, default 15).
querystring
Search substring (>= 2 chars required for city; optional for other categories, max 120 chars).

Technical descriptions are shown as the model sees them.

  • In your app: via tool_read
  • Read-only
  • Safe to repeat
  • mcp:read
Call examples 2

Find destination city ID

{
  "field_kind": "city",
  "query": "Kazan",
  "limit": 10
}

Search cost center values for an analytic

{
  "field_kind": "analytic",
  "analytic_id": 12,
  "query": "Sales",
  "limit": 15
}

Tool arguments. With the compact list the assistant passes them through tool_read.

Description for the model

Searches reference values needed while filling a trip draft: cities (for departure or destination), countries (for custom destination places type=1), large cost center analytics, organisations, transport/accommodation payment options, weekend work reasons, and masked available payment cards. CALL WHEN: resolving city/country IDs or large dictionary fields flagged by trip_prepare. DO NOT CALL: to search colleagues or travelers (use employee_search), switch companies (use company_select), or list trips (use trip_list).

JSON Schema
{
  "$defs": {
    "TripFieldKindParam": {
      "description": "Reference dictionary categories supported by `trip_search_field_values`.",
      "enum": [
        "city",
        "country",
        "analytic",
        "organisation",
        "transport_payment",
        "accommodation_payment",
        "weekend_reason",
        "payment_card"
      ],
      "type": "string"
    }
  },
  "additionalProperties": false,
  "properties": {
    "analytic_id": {
      "default": null,
      "description": "Cost center analytic identifier (`>= 1`, required when `field_kind` is `analytic`). Pass only an `analytic_id` returned by `trip_prepare` in this conversation; never guess IDs.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "company_id": {
      "default": null,
      "description": "Target company identifier (`>= 1`) overriding the active dialog company. Pass only a `company_id` explicitly provided by the user or returned by `context_get` or `company_select` in this conversation; never guess IDs.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "contact_person_id": {
      "default": null,
      "description": "Contact person user identifier (`>= 1`, optional when `field_kind` is `payment_card`). Pass only a `user_id` returned by `context_get` or `employee_search` in this conversation; never guess IDs.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "field_kind": {
      "$ref": "#/$defs/TripFieldKindParam",
      "description": "Reference dictionary category to search."
    },
    "limit": {
      "default": null,
      "description": "Maximum number of options to return (`1..=25`, default `15`).",
      "format": "uint8",
      "maximum": 25,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "query": {
      "default": null,
      "description": "Search substring (`>= 2` chars required for `city`; optional for other categories, max 120 chars).",
      "maxLength": 120,
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "field_kind"
  ],
  "type": "object"
}

Trip creation

Actions · two steps
Step 1 · pre-checkTrip pre-checktrip_prepareChecks what is missing to create a trip and puts the draft together.
Ask in the chat
Prepare a business trip to Berlin for next week.

Saves nothing.

Parameters
allow_weekend_bookingboolean
Allow staying over the nearest weekend before or after the approved trip dates when company pre-approval enables this option.
analyticsobject[]
Cost center / analytic values to set or update on this draft (merged by analytic_id).
Child fields · 3
analytics[].analytic_idinteger · required
Analytic identifier (>= 1). Pass only an analytic_id returned by trip_prepare in this conversation; never guess or reuse IDs from other conversations.
analytics[].valuestring
String value (1..=255 chars) for free-text analytics or label of a selected list value.
analytics[].value_idinteger
Selected list option identifier (>= 1) for list-type analytics. Pass only a value_id returned by trip_prepare or trip_search_field_values(field_kind="analytic") in this conversation; never guess IDs.
approval_commentstring
Optional comment for approvers (0..=255 chars).
booking_contextobject
Optional context of a selected travel service to find matching pre-approved trips before creating a new one (pass passenger_user_ids alongside when the traveler is known).
Child fields · 6
booking_context.end_datestring · required
Service end date (YYYY-MM-DD).
booking_context.service_typestring · required
Service type being booked (for example avia, hotel, or rail).
booking_context.start_datestring · required
Service start date (YYYY-MM-DD).
booking_context.city_idinteger
Optional destination city identifier (>= 1). Pass only a city_id returned by a tool in this conversation; never guess IDs.
booking_context.force_create_newboolean
Set true only after the user explicitly declined matching approved trips and wants to create a new trip.
booking_context.pricenumber
Optional expected service price (non-negative decimal) for remaining pre-approval budget matching.
company_idinteger
Target company identifier (>= 1) overriding the active dialog company for a new trip. Pass only a company_id explicitly provided by the user or returned by context_get or company_select in this conversation; never guess IDs.
contact_person_idinteger
Contact person user identifier (>= 1) for the trip. Pass only a user_id explicitly provided by the user or returned by context_get or employee_search in this conversation; never guess IDs.
12 more optional
departure_city_idinteger
Departure city identifier (>= 1) when required by company rules. Pass only a city_id explicitly provided by the user or returned by context_get or trip_search_field_values(field_kind="city") in this conversation; never guess IDs.
draft_idstring
Existing in-memory draft handle from a prior trip_prepare response in this conversation. Pass only the exact draft_id returned in this conversation; never guess or reuse draft_id across conversations.
end_datestring
Trip end date (YYYY-MM-DD) when dates control is required without destination places.
order_idinteger
Existing trip order identifier (>= 1) to edit (omit when creating a new trip). Pass only an order_id explicitly provided by the user or returned by trip_list or trip_get in this conversation; never guess or reuse IDs.
passenger_user_idsinteger[]
List of passenger user identifiers (>= 1 each, up to 50). Pass only user_id values explicitly provided by the user or returned by context_get or employee_search in this conversation; never guess or fabricate IDs.
payment_card_idinteger
Saved payment card identifier (>= 1) when payment_method is card. Pass only a card_id returned by trip_prepare or trip_search_field_values(field_kind="payment_card") in this conversation; never guess IDs.
payment_methodenum
Trip payment method (bill, card, abstract_corporate_card, or abstract_personal_card).
billcardabstract_corporate_cardabstract_personal_card
placesobject[]
Destination places list (1..=20 items) when cities control is active (replaces the full places list on draft update — pass all destinations when adding another place).
Child fields · 11
places[].end_datestring · required
Departure / end date from this destination (YYYY-MM-DD).
places[].start_datestring · required
Arrival / start date in this destination (YYYY-MM-DD).
places[].trip_purposestring · required
Business purpose of visiting this destination (1..=255 chars).
places[].accommodation_payment_methodstring
Accommodation payment method option (1..=255 chars) when required by company form settings.
places[].destination_city_idinteger
Destination city identifier (>= 1, when type = 0). Pass only a city_id explicitly provided by the user or returned by trip_search_field_values(field_kind="city") or context_get in this conversation; never guess or reuse IDs from other conversations.
places[].destination_country_idinteger
Destination country identifier (>= 1, required when type = 1). Pass only a country ID explicitly provided by the user or returned by trip_search_field_values(field_kind="country") in this conversation; never guess IDs.
places[].destination_namestring
Custom destination name (required when type = 1, 1..=255 chars).
places[].destination_organisationstring
Host organisation name (1..=255 chars), optional or required per company pre-approval form settings (use trip_search_field_values with field_kind="organisation" for presets, or pass custom text).
places[].idinteger
Existing place record identifier (>= 1) when editing an existing order; omit for new places. Pass only an ID returned by trip_prepare for this order; never guess IDs.
places[].transport_payment_methodstring
Transport payment method option (1..=255 chars) when required by company form settings.
places[].typeinteger · 0…1
Location type: 0 for a catalog city (default) or 1 for a custom location name.
start_datestring
Trip start date (YYYY-MM-DD) when dates control is required without destination places.
travel_budgetnumber
Requested pre-approval travel budget limit (non-negative decimal in company currency).
trip_namestring
Trip title or short description (0..=255 chars).
weekend_worksobject[]
Weekend work records for travelers (0..=50 items) when company enables weekend work tracking (replaces the full weekend_works list on draft update — pass all weekend entries when adding another day).
Child fields · 5
weekend_works[].compensationenum · required
Compensation type (restDay or doublePayment).
restDaydoublePayment
weekend_works[].datestring · required
Weekend work calendar date (YYYY-MM-DD).
weekend_works[].reasonstring · required
Justification or reason for weekend work (1..=255 chars).
weekend_works[].user_idinteger · required
Passenger user identifier (>= 1). Pass only a user_id explicitly provided by the user or returned by context_get or employee_search in this conversation; never guess IDs.
weekend_works[].rest_daystring
Compensatory day-off date (YYYY-MM-DD), required when compensation is restDay.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_prepare
  • Read-only
  • Safe to repeat
  • mcp:prepare
Call examples 4

Discover required company fields before asking the user

{}

Prepare a new trip with destination place and cost center

{
  "trip_name": "Client workshop",
  "passenger_user_ids": [
    20011
  ],
  "payment_method": "bill",
  "places": [
    {
      "type": 0,
      "destination_city_id": 49,
      "start_date": "2026-12-10",
      "end_date": "2026-12-12",
      "trip_purpose": "Client meetings"
    }
  ],
  "analytics": [
    {
      "analytic_id": 12,
      "value_id": 304
    }
  ]
}

Open an existing trip order for editing without calling trip_get

{
  "order_id": 26695,
  "approval_comment": "Updated travel dates"
}

Check matching pre-approved trips before creating a new one

{
  "passenger_user_ids": [
    20011
  ],
  "booking_context": {
    "service_type": "avia",
    "city_id": 49,
    "start_date": "2026-12-10",
    "end_date": "2026-12-12",
    "price": 18500
  }
}

Tool arguments. With the compact list the assistant passes them through tool_prepare.

Description for the model

Read-only server-driven trip form evaluator (saves nothing to DB). Always run FIRST — even with empty {} arguments — whenever the user wants to create a trip or asks what fields are needed, because required fields depend on company settings (some companies allow an empty draft with zero fields). Evaluates company rules, pre-approval, cost centers, and payment methods, returning exact missing_fields or status=READY with a one-time quote_token. CALL WHEN: starting a new trip (run first with {} or whatever details the user already gave — NEVER ask for route, dates, title, or passengers beforehand) or editing an existing order by order_id without calling trip_get first. DO NOT CALL: only to view/list trips (use trip_get or trip_list), search colleagues (use employee_search), or save to DB (use trip_confirm after user confirmation).

JSON Schema
{
  "$defs": {
    "TripBookingContextParam": {
      "additionalProperties": false,
      "description": "Context of an already selected travel service to check for matching pre-approved trips.",
      "properties": {
        "city_id": {
          "default": null,
          "description": "Optional destination city identifier (`>= 1`). Pass only a `city_id` returned by a tool in this conversation; never guess IDs.",
          "format": "uint64",
          "minimum": 1,
          "type": [
            "integer",
            "null"
          ]
        },
        "end_date": {
          "description": "Service end date (`YYYY-MM-DD`).",
          "type": "string"
        },
        "force_create_new": {
          "default": false,
          "description": "Set `true` only after the user explicitly declined matching approved trips and wants to create a new trip.",
          "type": "boolean"
        },
        "price": {
          "description": "Optional expected service price (non-negative decimal) for remaining pre-approval budget matching.",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "service_type": {
          "description": "Service type being booked (for example `avia`, `hotel`, or `rail`).",
          "maxLength": 32,
          "minLength": 1,
          "type": "string"
        },
        "start_date": {
          "description": "Service start date (`YYYY-MM-DD`).",
          "type": "string"
        }
      },
      "required": [
        "service_type",
        "start_date",
        "end_date"
      ],
      "type": "object"
    },
    "TripDraftAnalyticParam": {
      "additionalProperties": false,
      "description": "Cost center / analytic value entry for `trip_prepare`.",
      "properties": {
        "analytic_id": {
          "description": "Analytic identifier (`>= 1`). Pass only an `analytic_id` returned by `trip_prepare` in this conversation; never guess or reuse IDs from other conversations.",
          "format": "uint64",
          "minimum": 1,
          "type": "integer"
        },
        "value": {
          "default": null,
          "description": "String value (`1..=255` chars) for free-text analytics or label of a selected list value.",
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        },
        "value_id": {
          "default": null,
          "description": "Selected list option identifier (`>= 1`) for list-type analytics. Pass only a `value_id` returned by `trip_prepare` or `trip_search_field_values(field_kind=\"analytic\")` in this conversation; never guess IDs.",
          "format": "uint64",
          "minimum": 1,
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "analytic_id"
      ],
      "type": "object"
    },
    "TripDraftPlaceParam": {
      "additionalProperties": false,
      "description": "Destination place item for `trip_prepare` when cities control is active.",
      "properties": {
        "accommodation_payment_method": {
          "default": null,
          "description": "Accommodation payment method option (`1..=255` chars) when required by company form settings.",
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        },
        "destination_city_id": {
          "default": null,
          "description": "Destination city identifier (`>= 1`, when `type = 0`). Pass only a `city_id` explicitly provided by the user or returned by `trip_search_field_values(field_kind=\"city\")` or `context_get` in this conversation; never guess or reuse IDs from other conversations.",
          "format": "uint64",
          "minimum": 1,
          "type": [
            "integer",
            "null"
          ]
        },
        "destination_country_id": {
          "default": null,
          "description": "Destination country identifier (`>= 1`, required when `type = 1`). Pass only a country ID explicitly provided by the user or returned by `trip_search_field_values(field_kind=\"country\")` in this conversation; never guess IDs.",
          "format": "uint64",
          "minimum": 1,
          "type": [
            "integer",
            "null"
          ]
        },
        "destination_name": {
          "default": null,
          "description": "Custom destination name (required when `type = 1`, `1..=255` chars).",
          "maxLength": 255,
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "destination_organisation": {
          "default": null,
          "description": "Host organisation name (`1..=255` chars), optional or required per company pre-approval form settings (use `trip_search_field_values` with `field_kind=\"organisation\"` for presets, or pass custom text).",
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        },
        "end_date": {
          "description": "Departure / end date from this destination (`YYYY-MM-DD`).",
          "type": "string"
        },
        "id": {
          "default": null,
          "description": "Existing place record identifier (`>= 1`) when editing an existing order; omit for new places. Pass only an ID returned by `trip_prepare` for this order; never guess IDs.",
          "format": "uint64",
          "minimum": 1,
          "type": [
            "integer",
            "null"
          ]
        },
        "start_date": {
          "description": "Arrival / start date in this destination (`YYYY-MM-DD`).",
          "type": "string"
        },
        "transport_payment_method": {
          "default": null,
          "description": "Transport payment method option (`1..=255` chars) when required by company form settings.",
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        },
        "trip_purpose": {
          "description": "Business purpose of visiting this destination (`1..=255` chars).",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "type": {
          "default": null,
          "description": "Location type: `0` for a catalog city (default) or `1` for a custom location name.",
          "format": "uint8",
          "maximum": 1,
          "minimum": 0,
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "start_date",
        "end_date",
        "trip_purpose"
      ],
      "type": "object"
    },
    "TripDraftWeekendWorkParam": {
      "additionalProperties": false,
      "description": "Weekend work record for a traveler in `trip_prepare`.",
      "properties": {
        "compensation": {
          "$ref": "#/$defs/WeekendCompensationParam",
          "description": "Compensation type (`restDay` or `doublePayment`)."
        },
        "date": {
          "description": "Weekend work calendar date (`YYYY-MM-DD`).",
          "type": "string"
        },
        "reason": {
          "description": "Justification or reason for weekend work (`1..=255` chars).",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "rest_day": {
          "default": null,
          "description": "Compensatory day-off date (`YYYY-MM-DD`), required when `compensation` is `restDay`.",
          "type": [
            "string",
            "null"
          ]
        },
        "user_id": {
          "description": "Passenger user identifier (`>= 1`). Pass only a `user_id` explicitly provided by the user or returned by `context_get` or `employee_search` in this conversation; never guess IDs.",
          "format": "uint64",
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "user_id",
        "date",
        "reason",
        "compensation"
      ],
      "type": "object"
    },
    "TripPaymentMethodParam": {
      "description": "Payment methods supported by `trip_prepare`.",
      "oneOf": [
        {
          "const": "bill",
          "description": "Corporate invoice / bank transfer (`orderPayment = 0`).",
          "type": "string"
        },
        {
          "const": "card",
          "description": "Saved corporate or personal card (`orderPayment = 1`, requires `payment_card_id`).",
          "type": "string"
        },
        {
          "const": "abstract_corporate_card",
          "description": "Abstract corporate card payment without a pre-saved card ID (`orderPayment = 3`).",
          "type": "string"
        },
        {
          "const": "abstract_personal_card",
          "description": "Abstract personal card payment without a pre-saved card ID (`orderPayment = 4`).",
          "type": "string"
        }
      ]
    },
    "WeekendCompensationParam": {
      "description": "Compensation type for weekend work records (`restDay` or `doublePayment`).",
      "oneOf": [
        {
          "const": "restDay",
          "description": "Compensatory day off (`restDay`, requires `rest_day` date).",
          "type": "string"
        },
        {
          "const": "doublePayment",
          "description": "Double pay for working on a weekend (`doublePayment`).",
          "type": "string"
        }
      ]
    }
  },
  "additionalProperties": false,
  "properties": {
    "allow_weekend_booking": {
      "default": null,
      "description": "Allow staying over the nearest weekend before or after the approved trip dates when company pre-approval enables this option.",
      "type": [
        "boolean",
        "null"
      ]
    },
    "analytics": {
      "description": "Cost center / analytic values to set or update on this draft (merged by `analytic_id`).",
      "items": {
        "$ref": "#/$defs/TripDraftAnalyticParam"
      },
      "maxItems": 50,
      "type": [
        "array",
        "null"
      ]
    },
    "approval_comment": {
      "default": null,
      "description": "Optional comment for approvers (`0..=255` chars).",
      "maxLength": 255,
      "type": [
        "string",
        "null"
      ]
    },
    "booking_context": {
      "anyOf": [
        {
          "$ref": "#/$defs/TripBookingContextParam"
        },
        {
          "type": "null"
        }
      ],
      "description": "Optional context of a selected travel service to find matching pre-approved trips before creating a new one (pass `passenger_user_ids` alongside when the traveler is known)."
    },
    "company_id": {
      "default": null,
      "description": "Target company identifier (`>= 1`) overriding the active dialog company for a new trip. Pass only a `company_id` explicitly provided by the user or returned by `context_get` or `company_select` in this conversation; never guess IDs.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "contact_person_id": {
      "default": null,
      "description": "Contact person user identifier (`>= 1`) for the trip. Pass only a `user_id` explicitly provided by the user or returned by `context_get` or `employee_search` in this conversation; never guess IDs.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "departure_city_id": {
      "default": null,
      "description": "Departure city identifier (`>= 1`) when required by company rules. Pass only a `city_id` explicitly provided by the user or returned by `context_get` or `trip_search_field_values(field_kind=\"city\")` in this conversation; never guess IDs.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "draft_id": {
      "default": null,
      "description": "Existing in-memory draft handle from a prior `trip_prepare` response in this conversation. Pass only the exact `draft_id` returned in this conversation; never guess or reuse `draft_id` across conversations.",
      "maxLength": 64,
      "minLength": 1,
      "type": [
        "string",
        "null"
      ]
    },
    "end_date": {
      "default": null,
      "description": "Trip end date (`YYYY-MM-DD`) when dates control is required without destination places.",
      "type": [
        "string",
        "null"
      ]
    },
    "order_id": {
      "default": null,
      "description": "Existing trip order identifier (`>= 1`) to edit (omit when creating a new trip). Pass only an `order_id` explicitly provided by the user or returned by `trip_list` or `trip_get` in this conversation; never guess or reuse IDs.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "passenger_user_ids": {
      "default": null,
      "description": "List of passenger user identifiers (`>= 1` each, up to 50). Pass only `user_id` values explicitly provided by the user or returned by `context_get` or `employee_search` in this conversation; never guess or fabricate IDs.",
      "items": {
        "format": "uint64",
        "minimum": 0,
        "type": "integer"
      },
      "maxItems": 50,
      "type": [
        "array",
        "null"
      ]
    },
    "payment_card_id": {
      "default": null,
      "description": "Saved payment card identifier (`>= 1`) when `payment_method` is `card`. Pass only a `card_id` returned by `trip_prepare` or `trip_search_field_values(field_kind=\"payment_card\")` in this conversation; never guess IDs.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "payment_method": {
      "anyOf": [
        {
          "$ref": "#/$defs/TripPaymentMethodParam"
        },
        {
          "type": "null"
        }
      ],
      "description": "Trip payment method (`bill`, `card`, `abstract_corporate_card`, or `abstract_personal_card`)."
    },
    "places": {
      "description": "Destination places list (`1..=20` items) when cities control is active (replaces the full `places` list on draft update — pass all destinations when adding another place).",
      "items": {
        "$ref": "#/$defs/TripDraftPlaceParam"
      },
      "maxItems": 20,
      "type": [
        "array",
        "null"
      ]
    },
    "start_date": {
      "default": null,
      "description": "Trip start date (`YYYY-MM-DD`) when dates control is required without destination places.",
      "type": [
        "string",
        "null"
      ]
    },
    "travel_budget": {
      "description": "Requested pre-approval travel budget limit (non-negative decimal in company currency).",
      "format": "double",
      "type": [
        "number",
        "null"
      ]
    },
    "trip_name": {
      "default": null,
      "description": "Trip title or short description (`0..=255` chars).",
      "maxLength": 255,
      "type": [
        "string",
        "null"
      ]
    },
    "weekend_works": {
      "description": "Weekend work records for travelers (`0..=50` items) when company enables weekend work tracking (replaces the full `weekend_works` list on draft update — pass all weekend entries when adding another day).",
      "items": {
        "$ref": "#/$defs/TripDraftWeekendWorkParam"
      },
      "maxItems": 50,
      "type": [
        "array",
        "null"
      ]
    }
  },
  "type": "object"
}
The assistant shows the summary and waits for your yes
Step 2 · actionTrip creationtrip_confirmCreates or updates the trip from the prepared draft after you say yes.
Ask in the chat
Yes, create it.

If your company requires pre-approval, approvers get a notification.

Parameters
quote_tokenstring · required
One-time confirmation quote token returned by trip_prepare when status=READY. Pass only the exact quote_token returned in this conversation after the user explicitly confirmed the summary; never guess or reuse tokens across conversations.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_confirm
  • Changes data
  • Safe to repeat
  • mcp:prepare
Call examples 1

Save prepared trip after explicit user confirmation

{
  "quote_token": "QT_0001"
}

Tool arguments. With the compact list the assistant passes them through tool_confirm.

Description for the model

Redeems a one-time quote_token from trip_prepare to create or update the trip order in core (and trigger pre-approval notifications when required). CALL WHEN: the user explicitly confirmed the prepared trip summary and quote_token is active from a prior turn. DO NOT CALL: in the same turn as trip_prepare before user review, without a valid quote_token from this conversation, or to inspect/list trips (use trip_get or trip_list).

JSON Schema
{
  "additionalProperties": false,
  "properties": {
    "quote_token": {
      "description": "One-time confirmation quote token returned by `trip_prepare` when `status=READY`. Pass only the exact `quote_token` returned in this conversation after the user explicitly confirmed the summary; never guess or reuse tokens across conversations.",
      "maxLength": 64,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "quote_token"
  ],
  "type": "object"
}

Until you confirm step 2, nothing is saved, booked, or charged.

Colleagues & departments

12On the consent screen: Read or Actions

View colleagues and departments, and update employee profile, documents, loyalty/personal rail cards, absences, and structural analytics after your confirmation.

Employee profileemployee_getShows an employee profile: departments, settings, masked travel documents, loyalty and rail discount cards, absence periods, and structural analytics.Read
Ask in the chat
Show my profile, document expiry status, loyalty cards, and absence periods.

Main/additional phones and emails, documents, loyalty cards, and personal rail card codes arrive masked; raw contacts, login, and birth date are omitted.

Parameters
absences_limitinteger · 1…50
Maximum number of absence periods to return per page (1..=50, default 20).
absences_offsetinteger
Zero-based pagination offset for the absence periods section (default 0).
bonus_cards_limitinteger · 1…50
Maximum number of loyalty cards to return per page (1..=50, default 20).
bonus_cards_offsetinteger
Zero-based pagination offset for the loyalty cards section (default 0).
company_idinteger
Target company identifier (>= 1) overriding the dialog active company for this lookup. Pass only a company_id explicitly provided by the user or returned by context_get or company_select in this conversation; never guess or reuse IDs from other conversations.
documents_limitinteger · 1…50
Maximum number of documents to return per page (1..=50, default 20).
5 more optional
documents_offsetinteger
Zero-based pagination offset for the documents section (default 0).
rail_discounts_limitinteger · 1…50
Maximum number of rail discount cards to return per page (1..=50, default 20).
rail_discounts_offsetinteger
Zero-based pagination offset for the European rail discount cards section (default 0).
sectionsenum[]
Sections to load (default ["all"]). Specify a subset such as ["summary", "documents"] or ["absences"] to inspect only specific parts of the profile.
allsummarydocumentsbonus_cardsrail_discountsabsencesanalytics
user_idinteger
Target employee identifier (>= 1). Omit to inspect the caller's own profile. Pass only a user_id explicitly provided by the user or returned by context_get, employee_search, department_list, or department_get in this conversation; never guess or reuse IDs from other conversations.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_read
  • Read-only
  • Safe to repeat
  • mcp:read
Call examples 2

Inspect caller's own full profile

{}

Inspect colleague documents and absences only

{
  "user_id": 20015,
  "sections": [
    "summary",
    "documents",
    "absences"
  ]
}

Tool arguments. With the compact list the assistant passes them through tool_read.

Description for the model

Returns an employee profile card (caller's own profile when user_id is omitted, or a permitted colleague): job title, gender, departments, account status, locale/currency/time zone, home city/rail hub, masked main/additional phones and emails with readiness flags (no raw email/phone/birth date), masked travel documents with issue/expiry/IIN, masked airline/RZD loyalty cards, active European rail cards (personal assignment_id and masked code), absences with substitutes, and analytics. Supports section filtering and pagination (TTL = 0). CALL WHEN: inspecting a known employee's profile, masked contacts, document validity, loyalty/rail cards, absences, or analytics. DO NOT CALL: to search colleagues by name/email (use employee_search), inspect travel policy limits (use policy_get), or list company departments (use department_list).

JSON Schema
{
  "$defs": {
    "EmployeeProfileSectionParam": {
      "description": "Profile section selector for `employee_get`.",
      "oneOf": [
        {
          "const": "all",
          "description": "Load profile summary together with documents, loyalty cards, rail discount cards, absences, and structural analytics.",
          "type": "string"
        },
        {
          "const": "summary",
          "description": "Load only core employee summary, settings, and department memberships without extra section RPC calls.",
          "type": "string"
        },
        {
          "const": "documents",
          "description": "Load masked employee travel documents with expiry status and warnings.",
          "type": "string"
        },
        {
          "const": "bonus_cards",
          "description": "Load masked airline and RZD-Bonus loyalty cards.",
          "type": "string"
        },
        {
          "const": "rail_discounts",
          "description": "Load active corporate and personal European rail discount cards.",
          "type": "string"
        },
        {
          "const": "absences",
          "description": "Load active periods of absence and assigned substitutes.",
          "type": "string"
        },
        {
          "const": "analytics",
          "description": "Load company structural analytics assigned to the employee profile.",
          "type": "string"
        }
      ]
    }
  },
  "additionalProperties": false,
  "properties": {
    "absences_limit": {
      "default": null,
      "description": "Maximum number of absence periods to return per page (`1..=50`, default `20`).",
      "format": "uint8",
      "maximum": 50,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "absences_offset": {
      "default": null,
      "description": "Zero-based pagination offset for the absence periods section (default `0`).",
      "format": "uint32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "bonus_cards_limit": {
      "default": null,
      "description": "Maximum number of loyalty cards to return per page (`1..=50`, default `20`).",
      "format": "uint8",
      "maximum": 50,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "bonus_cards_offset": {
      "default": null,
      "description": "Zero-based pagination offset for the loyalty cards section (default `0`).",
      "format": "uint32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "company_id": {
      "default": null,
      "description": "Target company identifier (`>= 1`) overriding the dialog active company for this lookup. Pass only a `company_id` explicitly provided by the user or returned by `context_get` or `company_select` in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "documents_limit": {
      "default": null,
      "description": "Maximum number of documents to return per page (`1..=50`, default `20`).",
      "format": "uint8",
      "maximum": 50,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "documents_offset": {
      "default": null,
      "description": "Zero-based pagination offset for the documents section (default `0`).",
      "format": "uint32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "rail_discounts_limit": {
      "default": null,
      "description": "Maximum number of rail discount cards to return per page (`1..=50`, default `20`).",
      "format": "uint8",
      "maximum": 50,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "rail_discounts_offset": {
      "default": null,
      "description": "Zero-based pagination offset for the European rail discount cards section (default `0`).",
      "format": "uint32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "sections": {
      "description": "Sections to load (default `[\"all\"]`). Specify a subset such as `[\"summary\", \"documents\"]` or `[\"absences\"]` to inspect only specific parts of the profile.",
      "items": {
        "$ref": "#/$defs/EmployeeProfileSectionParam"
      },
      "type": "array"
    },
    "user_id": {
      "default": null,
      "description": "Target employee identifier (`>= 1`). Omit to inspect the caller's own profile. Pass only a `user_id` explicitly provided by the user or returned by `context_get`, `employee_search`, `department_list`, or `department_get` in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "type": "object"
}
Company departmentsdepartment_listLists departments in the active company together with their heads and member counts.Read
Ask in the chat
Which departments exist in my company and who leads them?
Parameters
company_idinteger
Target company identifier (>= 1) overriding the dialog active company for this lookup. Pass only a company_id explicitly provided by the user or returned by context_get or company_select in this conversation; never guess or reuse IDs from other conversations.
limitinteger · 1…50
Maximum number of departments to return per page (1..=50, default 25).
offsetinteger
Zero-based pagination offset for the department list (default 0).
querystring
Optional case-insensitive search substring (0..=120 chars) matching department name or department head name.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_read
  • Read-only
  • Safe to repeat
  • mcp:read
Call examples 1

List departments in active company

{
  "limit": 25
}

Tool arguments. With the compact list the assistant passes them through tool_read.

Description for the model

Lists or searches departments in the active company (up to 50 per page, default 25) with department head name/position, active member counts, and markers for the caller's own primary and additional departments (TTL = 0). Regular employees and department-restricted coordinators see only their own departments. CALL WHEN: exploring company department structure, locating a department_id, or finding who leads each department. DO NOT CALL: to inspect individual department members (use department_get), search colleagues by email/name (use employee_search), or switch active companies (use company_select).

JSON Schema
{
  "additionalProperties": false,
  "properties": {
    "company_id": {
      "default": null,
      "description": "Target company identifier (`>= 1`) overriding the dialog active company for this lookup. Pass only a `company_id` explicitly provided by the user or returned by `context_get` or `company_select` in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "limit": {
      "default": null,
      "description": "Maximum number of departments to return per page (`1..=50`, default `25`).",
      "format": "uint8",
      "maximum": 50,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "offset": {
      "default": null,
      "description": "Zero-based pagination offset for the department list (default `0`).",
      "format": "uint32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "query": {
      "default": null,
      "description": "Optional case-insensitive search substring (`0..=120` chars) matching department name or department head name.",
      "maxLength": 120,
      "type": [
        "string",
        "null"
      ]
    }
  },
  "type": "object"
}
Department detailsdepartment_getShows a department's head and paginated member list with filtering by name or job title.Read
Ask in the chat
Who works in the Sales department and who leads it?

Regular employees can only view their own department; contact details and birth dates are never exposed.

Parameters
department_idinteger · required
Department identifier (>= 1) to inspect. Pass only a department_id explicitly provided by the user or returned by department_list, employee_get, or employee_search in this conversation; never guess or reuse IDs from other conversations.
company_idinteger
Target company identifier (>= 1) overriding the dialog active company for this lookup. Pass only a company_id explicitly provided by the user or returned by context_get or company_select in this conversation; never guess or reuse IDs from other conversations.
include_inactiveboolean
Set true to include inactive, expired, or locked members alongside active department members (default false).
member_searchstring
Optional case-insensitive substring (0..=120 chars) filtering department members by full name or job title.
members_limitinteger · 1…50
Maximum number of members to return per page (1..=50, default 25).
members_offsetinteger
Zero-based pagination offset for the filtered member list (default 0).

Technical descriptions are shown as the model sees them.

  • In your app: via tool_read
  • Read-only
  • Safe to repeat
  • mcp:read
Call examples 1

Inspect department head and active members

{
  "department_id": 21,
  "members_limit": 25
}

Tool arguments. With the compact list the assistant passes them through tool_read.

Description for the model

Returns details of a company department by department_id: department head, active member count, and paginated member roster (up to 50 per page, default 25) with optional name/title search and include_inactive toggle, marking whether this is each member's primary or additional department without exposing raw PII (TTL = 0). Regular employees and department-restricted coordinators may inspect only their own departments. CALL WHEN: checking who leads a department or listing members of a known department_id. DO NOT CALL: without a department_id (call department_list first), to inspect an employee's documents/absences (use employee_get), or to check travel policy limits (use policy_get).

JSON Schema
{
  "additionalProperties": false,
  "properties": {
    "company_id": {
      "default": null,
      "description": "Target company identifier (`>= 1`) overriding the dialog active company for this lookup. Pass only a `company_id` explicitly provided by the user or returned by `context_get` or `company_select` in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "department_id": {
      "description": "Department identifier (`>= 1`) to inspect. Pass only a `department_id` explicitly provided by the user or returned by `department_list`, `employee_get`, or `employee_search` in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": "integer"
    },
    "include_inactive": {
      "default": false,
      "description": "Set `true` to include inactive, expired, or locked members alongside active department members (default `false`).",
      "type": "boolean"
    },
    "member_search": {
      "default": null,
      "description": "Optional case-insensitive substring (`0..=120` chars) filtering department members by full name or job title.",
      "maxLength": 120,
      "type": [
        "string",
        "null"
      ]
    },
    "members_limit": {
      "default": null,
      "description": "Maximum number of members to return per page (`1..=50`, default `25`).",
      "format": "uint8",
      "maximum": 50,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "members_offset": {
      "default": null,
      "description": "Zero-based pagination offset for the filtered member list (default `0`).",
      "format": "uint32",
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "required": [
    "department_id"
  ],
  "type": "object"
}

Confirm employee profile update

Actions · two steps
Step 1 · pre-checkEmployee profile pre-checkemployee_profile_prepareValidates permissions, name/birth-date rules, country phone masks, and directories, then returns a diff (masked current values, normalized proposed values for review) without saving.
Ask in the chat
Prepare updating my job title to Senior Analyst and home city to Berlin.

Saves nothing; warns if changing phone or email will reset 2FA and enforces the hide_employee_pii restriction.

Parameters
analyticsobject[]
Optional structural analytics updates (1..=50 entries) applied via user.setAnalyticMass. Requires editor permission (user_can_edit=1), non-agency company, and non-private mode; allowed alone even when hide_employee_pii is enabled.
Child fields · 2
analytics[].analytic_idinteger · required
Structural analytic identifier (>= 1) belonging to the target employee's active company. Pass only an analytic_id returned by employee_get in this conversation; never guess or reuse IDs across conversations.
analytics[].valuestring
New value for the analytic (null, "", or "#noanalitic#" clears an optional analytic; required analytics cannot be cleared; list analytics must match an allowed option).
company_idinteger
Target company identifier (>= 1) overriding the dialog active company for this edit. Pass only a company_id explicitly provided by the user or returned by context_get or company_select in this conversation; never guess or reuse IDs across conversations.
phone_updateobject
Optional primary phone update applied via user.setUserPhone with duplicate-phone detection (PHONE_DUPLICATE). Blocked when hide_employee_pii is enabled.
Child fields · 3
phone_update.phone_numberstring · required
Full phone number including country code (for example +79990001122, 7..=15 digits).
phone_update.allow_duplicate_phoneboolean
Set true only after the user explicitly confirmed overriding a PHONE_DUPLICATE conflict returned by employee_profile_confirm.
phone_update.countrystring
Optional phone country ISO-2 code, name, or directory ID (inferred from calling code or profile if omitted).
profile_patchobject
Optional personal, contact, and profile field updates applied via user.setUser (read-merge-write). Blocked when hide_employee_pii is enabled.
Child fields · 21
profile_patch.additional_emailstring
Additional contact email ("" marks existing additional email for deletion).
profile_patch.additional_phonestring
Additional contact phone number ("" marks existing additional phone for deletion).
profile_patch.additional_phone_countrystring
Optional phone country ISO-2 code, name, or ID for additional_phone.
profile_patch.base_countrystring
Base country for multi-currency expenses (ISO-2 code, name, or ID; allowed only when company multi-currency expenses are enabled).
profile_patch.base_currencystring
Base currency for multi-currency expenses (ISO-3 code such as RUB, AED, USD, or currency ID; allowed only when company multi-currency expenses are enabled).
profile_patch.birth_datestring
Date of birth in YYYY-MM-DD format (1900-01-01 through today).
profile_patch.citizenship_countrystring
Citizenship country ISO-2 code, country name, or directory ID resolved via info.getCountryList.
profile_patch.clear_home_cityboolean
Set true to clear the employee's home departure city (userHomeCityId = 0); cannot be combined with home_city or home_city_id.
profile_patch.emailstring
Primary contact email address ("" clears email). Changing email resets email-based 2FA if enabled.
profile_patch.first_namestring
Employee first name (1..=100 chars, letters, spaces, and hyphens only; no digits; no leading/trailing hyphen).
profile_patch.first_name_latstring
Latin first name (1..=100 ASCII Latin letters, spaces, and hyphens; allowed only on Russian point of sale or when translit override is enabled).
profile_patch.home_citystring
Home departure city name query (2..=120 chars) resolved via hotelmulti.fastSearch (city/City).
profile_patch.home_city_idinteger
Exact home city place_id (>= 1) returned by a prior employee_profile_prepare clarification response or employee_get. Pass only a home_city_id returned in this conversation; never guess or reuse IDs across conversations.
profile_patch.last_namestring
Employee last name (1..=100 chars, letters, spaces, and hyphens only; no digits; single - allowed).
profile_patch.last_name_latstring
Latin last name (1..=100 ASCII Latin letters, spaces, and hyphens; allowed only on Russian point of sale or when translit override is enabled).
profile_patch.main_phonestring
Primary phone number updated directly via user.setUser ("" clears; do not combine with phone_update). Changing phone resets SMS/phone 2FA if enabled.
profile_patch.main_phone_countrystring
Optional phone country ISO-2 code, name, or ID for main_phone.
profile_patch.middle_namestring
Employee middle name (0..=100 chars; pass empty string "" to clear; no digits).
profile_patch.personnel_numberstring
Employee personnel / payroll number (0..=255 chars; "" clears; blocked when hidden by company policy).
profile_patch.positionstring
Job title / position (0..=255 chars; "" clears).
profile_patch.sexenum
Employee gender (M or F).
MF
user_idinteger
Target employee identifier (>= 1; omit to edit the caller's own profile). Pass only a user_id explicitly provided by the user or returned by context_get, employee_search, employee_get, or department_get in this conversation; never guess or reuse IDs across conversations.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_prepare
  • Read-only
  • Safe to repeat
  • mcp:prepare
Call examples 3

Prepare updating caller's own job title and home city

{
  "profile_patch": {
    "position": "Senior Analyst",
    "home_city": "Moscow"
  }
}

Prepare duplicate-checked phone update for colleague

{
  "user_id": 20015,
  "phone_update": {
    "phone_number": "+79990001122",
    "country": "RU"
  }
}

Prepare updating structural analytics (editor only)

{
  "user_id": 20015,
  "analytics": [
    {
      "analytic_id": 701,
      "value": "CC-4100"
    }
  ]
}

Tool arguments. With the compact list the assistant passes them through tool_prepare.

Description for the model

Strictly read-only pre-check for updating an employee's profile fields (name, gender, birth date, citizenship, contacts, home city, job title, personnel number, multi-currency base country/currency), duplicate-checked main phone, or structural analytics. Validates permissions, UserRuleList rules, country phone masks, company flags, live directories, and hide_employee_pii, then returns a diff (masked existing values, normalized proposed values for review) with 2FA reset warnings and a one-time quote_token without writing to core. CALL WHEN: preparing edits to the caller's own profile or a colleague's profile/analytics for user review before saving. DO NOT CALL: to save changes (use employee_profile_confirm after user approval), to read a profile (use employee_get), or to change login, password, roles, departments, or lock status.

JSON Schema
{
  "$defs": {
    "EmployeeAnalyticPatchItemParams": {
      "additionalProperties": false,
      "description": "Single structural analytic assignment for `employee_profile_prepare` (`user.setAnalyticMass`).",
      "properties": {
        "analytic_id": {
          "description": "Structural analytic identifier (`>= 1`) belonging to the target employee's active company. Pass only an `analytic_id` returned by `employee_get` in this conversation; never guess or reuse IDs across conversations.",
          "format": "uint64",
          "minimum": 1,
          "type": "integer"
        },
        "value": {
          "default": null,
          "description": "New value for the analytic (`null`, `\"\"`, or `\"#noanalitic#\"` clears an optional analytic; required analytics cannot be cleared; list analytics must match an allowed option).",
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "analytic_id"
      ],
      "type": "object"
    },
    "EmployeePhoneUpdateParams": {
      "additionalProperties": false,
      "description": "Primary phone update with server-side duplicate check (`user.setUserPhone`).",
      "properties": {
        "allow_duplicate_phone": {
          "default": false,
          "description": "Set `true` only after the user explicitly confirmed overriding a `PHONE_DUPLICATE` conflict returned by `employee_profile_confirm`.",
          "type": "boolean"
        },
        "country": {
          "default": null,
          "description": "Optional phone country ISO-2 code, name, or directory ID (inferred from calling code or profile if omitted).",
          "maxLength": 120,
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "phone_number": {
          "description": "Full phone number including country code (for example `+79990001122`, `7..=15` digits).",
          "maxLength": 32,
          "minLength": 7,
          "type": "string"
        }
      },
      "required": [
        "phone_number"
      ],
      "type": "object"
    },
    "EmployeeProfilePatchParams": {
      "additionalProperties": false,
      "description": "Editable personal, contact, and company-profile fields for `employee_profile_prepare` (`user.setUser` read-merge-write).",
      "properties": {
        "additional_email": {
          "default": null,
          "description": "Additional contact email (`\"\"` marks existing additional email for deletion).",
          "maxLength": 254,
          "type": [
            "string",
            "null"
          ]
        },
        "additional_phone": {
          "default": null,
          "description": "Additional contact phone number (`\"\"` marks existing additional phone for deletion).",
          "maxLength": 32,
          "type": [
            "string",
            "null"
          ]
        },
        "additional_phone_country": {
          "default": null,
          "description": "Optional phone country ISO-2 code, name, or ID for `additional_phone`.",
          "maxLength": 120,
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "base_country": {
          "default": null,
          "description": "Base country for multi-currency expenses (ISO-2 code, name, or ID; allowed only when company multi-currency expenses are enabled).",
          "maxLength": 120,
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "base_currency": {
          "default": null,
          "description": "Base currency for multi-currency expenses (ISO-3 code such as `RUB`, `AED`, `USD`, or currency ID; allowed only when company multi-currency expenses are enabled).",
          "maxLength": 16,
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "birth_date": {
          "default": null,
          "description": "Date of birth in `YYYY-MM-DD` format (`1900-01-01` through today).",
          "maxLength": 10,
          "minLength": 10,
          "type": [
            "string",
            "null"
          ]
        },
        "citizenship_country": {
          "default": null,
          "description": "Citizenship country ISO-2 code, country name, or directory ID resolved via `info.getCountryList`.",
          "maxLength": 120,
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "clear_home_city": {
          "default": false,
          "description": "Set `true` to clear the employee's home departure city (`userHomeCityId = 0`); cannot be combined with `home_city` or `home_city_id`.",
          "type": "boolean"
        },
        "email": {
          "default": null,
          "description": "Primary contact email address (`\"\"` clears email). Changing email resets email-based 2FA if enabled.",
          "maxLength": 254,
          "type": [
            "string",
            "null"
          ]
        },
        "first_name": {
          "default": null,
          "description": "Employee first name (`1..=100` chars, letters, spaces, and hyphens only; no digits; no leading/trailing hyphen).",
          "maxLength": 100,
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "first_name_lat": {
          "default": null,
          "description": "Latin first name (`1..=100` ASCII Latin letters, spaces, and hyphens; allowed only on Russian point of sale or when translit override is enabled).",
          "maxLength": 100,
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "home_city": {
          "default": null,
          "description": "Home departure city name query (`2..=120` chars) resolved via `hotelmulti.fastSearch` (`city`/`City`).",
          "maxLength": 120,
          "minLength": 2,
          "type": [
            "string",
            "null"
          ]
        },
        "home_city_id": {
          "default": null,
          "description": "Exact home city `place_id` (`>= 1`) returned by a prior `employee_profile_prepare` clarification response or `employee_get`. Pass only a `home_city_id` returned in this conversation; never guess or reuse IDs across conversations.",
          "format": "uint64",
          "minimum": 1,
          "type": [
            "integer",
            "null"
          ]
        },
        "last_name": {
          "default": null,
          "description": "Employee last name (`1..=100` chars, letters, spaces, and hyphens only; no digits; single `-` allowed).",
          "maxLength": 100,
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "last_name_lat": {
          "default": null,
          "description": "Latin last name (`1..=100` ASCII Latin letters, spaces, and hyphens; allowed only on Russian point of sale or when translit override is enabled).",
          "maxLength": 100,
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "main_phone": {
          "default": null,
          "description": "Primary phone number updated directly via `user.setUser` (`\"\"` clears; do not combine with `phone_update`). Changing phone resets SMS/phone 2FA if enabled.",
          "maxLength": 32,
          "type": [
            "string",
            "null"
          ]
        },
        "main_phone_country": {
          "default": null,
          "description": "Optional phone country ISO-2 code, name, or ID for `main_phone`.",
          "maxLength": 120,
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "middle_name": {
          "default": null,
          "description": "Employee middle name (`0..=100` chars; pass empty string `\"\"` to clear; no digits).",
          "maxLength": 100,
          "type": [
            "string",
            "null"
          ]
        },
        "personnel_number": {
          "default": null,
          "description": "Employee personnel / payroll number (`0..=255` chars; `\"\"` clears; blocked when hidden by company policy).",
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        },
        "position": {
          "default": null,
          "description": "Job title / position (`0..=255` chars; `\"\"` clears).",
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        },
        "sex": {
          "anyOf": [
            {
              "$ref": "#/$defs/EmployeeSexParam"
            },
            {
              "type": "null"
            }
          ],
          "description": "Employee gender (`M` or `F`)."
        }
      },
      "type": "object"
    },
    "EmployeeSexParam": {
      "description": "Gender enum supported in `employee_profile_prepare`.",
      "enum": [
        "M",
        "F"
      ],
      "type": "string"
    }
  },
  "additionalProperties": false,
  "properties": {
    "analytics": {
      "description": "Optional structural analytics updates (`1..=50` entries) applied via `user.setAnalyticMass`. Requires editor permission (`user_can_edit=1`), non-agency company, and non-private mode; allowed alone even when `hide_employee_pii` is enabled.",
      "items": {
        "$ref": "#/$defs/EmployeeAnalyticPatchItemParams"
      },
      "maxItems": 50,
      "minItems": 1,
      "type": [
        "array",
        "null"
      ]
    },
    "company_id": {
      "default": null,
      "description": "Target company identifier (`>= 1`) overriding the dialog active company for this edit. Pass only a `company_id` explicitly provided by the user or returned by `context_get` or `company_select` in this conversation; never guess or reuse IDs across conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "phone_update": {
      "anyOf": [
        {
          "$ref": "#/$defs/EmployeePhoneUpdateParams"
        },
        {
          "type": "null"
        }
      ],
      "description": "Optional primary phone update applied via `user.setUserPhone` with duplicate-phone detection (`PHONE_DUPLICATE`). Blocked when `hide_employee_pii` is enabled."
    },
    "profile_patch": {
      "anyOf": [
        {
          "$ref": "#/$defs/EmployeeProfilePatchParams"
        },
        {
          "type": "null"
        }
      ],
      "description": "Optional personal, contact, and profile field updates applied via `user.setUser` (`read-merge-write`). Blocked when `hide_employee_pii` is enabled."
    },
    "user_id": {
      "default": null,
      "description": "Target employee identifier (`>= 1`; omit to edit the caller's own profile). Pass only a `user_id` explicitly provided by the user or returned by `context_get`, `employee_search`, `employee_get`, or `department_get` in this conversation; never guess or reuse IDs across conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "type": "object"
}
The assistant shows the summary and waits for your yes
Step 2 · actionConfirm employee profile updateemployee_profile_confirmSaves the prepared profile, phone, and structural analytics changes after your explicit confirmation.
Ask in the chat
Yes, save these profile changes.

Re-checks the live portal profile for concurrent edits and aborts cleanly on a duplicate phone before writing anything.

Parameters
quote_tokenstring · required
One-time confirmation token returned by employee_profile_prepare in this conversation. Pass only the exact quote_token returned after the user explicitly confirmed the prepared diff; never guess or reuse tokens across conversations.
target_user_idinteger · required
Exact target employee user_id (>= 1) quoted by employee_profile_prepare, echoed for explicit confirmation. Pass only the exact target_user_id returned by employee_profile_prepare in this conversation; never guess or reuse IDs across conversations.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_confirm
  • Changes data
  • Safe to repeat
  • mcp:confirm
Call examples 1

Confirm prepared employee profile update

{
  "quote_token": "qt_example_token",
  "target_user_id": 20015
}

Tool arguments. With the compact list the assistant passes them through tool_confirm.

Description for the model

Redeems a one-time quote_token from employee_profile_prepare to save employee profile, duplicate-checked phone, and structural analytics updates in strict order (setUserPhone -> setUser -> setAnalyticMass). Re-fetches the live portal profile to guard against concurrent edits and preserves protected fields unchanged (login, roles, travel policies, departments, lock flag). On PHONE_DUPLICATE aborts before any writes with zero partial mutations. CALL WHEN: the user explicitly confirmed the employee_profile_prepare diff and warnings in a prior turn. DO NOT CALL: in the same turn as employee_profile_prepare without user approval, without a valid quote_token from this conversation, or to inspect a profile (use employee_get).

JSON Schema
{
  "additionalProperties": false,
  "properties": {
    "quote_token": {
      "description": "One-time confirmation token returned by `employee_profile_prepare` in this conversation. Pass only the exact `quote_token` returned after the user explicitly confirmed the prepared diff; never guess or reuse tokens across conversations.",
      "maxLength": 64,
      "minLength": 1,
      "type": "string"
    },
    "target_user_id": {
      "description": "Exact target employee `user_id` (`>= 1`) quoted by `employee_profile_prepare`, echoed for explicit confirmation. Pass only the exact `target_user_id` returned by `employee_profile_prepare` in this conversation; never guess or reuse IDs across conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "quote_token",
    "target_user_id"
  ],
  "type": "object"
}

Until you confirm step 2, nothing is saved, booked, or charged.

Confirm employee document change

Actions · two steps
Step 1 · pre-checkEmployee document pre-checkemployee_document_prepareValidates permissions, document number masks, expiry dates, age thresholds, and IIN for creating, updating, or deleting an employee document without saving.
Ask in the chat
Prepare adding my foreign passport AB1234567 expiring on 2031-06-15.

Saves nothing; masks existing values, shows normalized proposed number and IIN for review, and is blocked when hide_employee_pii is enabled.

Parameters
actionenum · required
Document mutation action (create, update, or delete).
createupdatedelete
company_idinteger
Target company identifier (>= 1) overriding the dialog active company for this edit. Pass only a company_id explicitly provided by the user or returned by context_get or company_select in this conversation; never guess or reuse IDs across conversations.
document_fieldsobject
Document field values for create or update (omit when action=delete).
Child fields · 10
document_fields.date_of_expirystring
Document expiry date in YYYY-MM-DD format (required for Z, I, KZP, KZZ; ignored for P).
document_fields.date_of_issuestring
Document issue date in YYYY-MM-DD format (required for KZP; must be strictly earlier than date_of_expiry).
document_fields.document_numberstring
Document number matching the type mask (P: 10 digits, Z: 9 digits, I: 2..16 Latin/digits, KZP: 9 digits, KZZ: 1 letter + 8 digits; required on create).
document_fields.document_typeenum
Document type code (P, Z, S, I, KZP, KZZ; required when action=create).
PZSIKZPKZZ
document_fields.first_namestring
First name as printed in the document (Z, I, KZP, KZZ; cleared by core for P and S).
document_fields.issued_bystring
Issuing authority text (0..=255 chars; "" clears).
document_fields.issuing_countrystring
Issuing country ISO-2 code, country name, or directory ID resolved via info.getCountryList (stored by core only for I and S; ignored for P, Z, KZP, KZZ; cannot be cleared once set).
document_fields.last_namestring
Last name as printed in the document (Z, I, KZP, KZZ; cleared by core for P and S).
document_fields.middle_namestring
Middle name as printed in the document (Z, I, KZP, KZZ; cleared by core for P and S).
document_fields.resident_numberstring
12-digit Kazakhstan resident identification number (IIN; required for KZP and KZZ, optional 0 or 12 digits for I).
document_idinteger
Existing document identifier (>= 1; required for update and delete, omit for create). Pass only a document_id returned by employee_get(sections=["documents"]) in this conversation; never guess or reuse IDs across conversations.
user_idinteger
Target employee identifier (>= 1; omit to manage the caller's own documents). Pass only a user_id explicitly provided by the user or returned by context_get, employee_search, employee_get, or department_get in this conversation; never guess or reuse IDs across conversations.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_prepare
  • Read-only
  • Safe to repeat
  • mcp:prepare
Call examples 2

Prepare adding a Russian international passport

{
  "action": "create",
  "document_fields": {
    "document_type": "Z",
    "document_number": "721234567",
    "date_of_expiry": "2032-05-10",
    "first_name": "IVAN",
    "last_name": "PETROV"
  }
}

Prepare soft-deleting an existing employee document

{
  "user_id": 20015,
  "action": "delete",
  "document_id": 9101
}

Tool arguments. With the compact list the assistant passes them through tool_prepare.

Description for the model

Strictly read-only pre-check for creating, updating, or soft-deleting an employee identity document (types P, Z, S, I, KZP, KZZ). Validates permissions, hide_employee_pii=false, ownership, number masks, age thresholds (>=14 for P, >=16 for KZP), 12-digit IIN, expiry/issue dates, and max 2 foreign documents (I). Returns a diff (masked existing number, normalized proposed number/IIN for review) and one-time quote_token without writing. CALL WHEN: the user asks to add, edit, or delete a passport, birth certificate, or ID on an employee profile. DO NOT CALL: to read existing documents (use employee_get), to save changes directly (use employee_document_confirm after user approval), or when hide_employee_pii is enabled.

JSON Schema
{
  "$defs": {
    "EmployeeDocumentActionParam": {
      "description": "Operation kind for `employee_document_prepare`.",
      "oneOf": [
        {
          "const": "create",
          "description": "Create a new document on the employee profile.",
          "type": "string"
        },
        {
          "const": "update",
          "description": "Update an existing document (`document_id` required).",
          "type": "string"
        },
        {
          "const": "delete",
          "description": "Soft-delete an existing document (`document_id` required).",
          "type": "string"
        }
      ]
    },
    "EmployeeDocumentFieldsParams": {
      "additionalProperties": false,
      "description": "Editable fields for creating or updating an employee identity document (`employee_document_prepare`).",
      "properties": {
        "date_of_expiry": {
          "default": null,
          "description": "Document expiry date in `YYYY-MM-DD` format (required for `Z`, `I`, `KZP`, `KZZ`; ignored for `P`).",
          "maxLength": 10,
          "type": [
            "string",
            "null"
          ]
        },
        "date_of_issue": {
          "default": null,
          "description": "Document issue date in `YYYY-MM-DD` format (required for `KZP`; must be strictly earlier than `date_of_expiry`).",
          "maxLength": 10,
          "type": [
            "string",
            "null"
          ]
        },
        "document_number": {
          "default": null,
          "description": "Document number matching the type mask (`P`: 10 digits, `Z`: 9 digits, `I`: 2..16 Latin/digits, `KZP`: 9 digits, `KZZ`: 1 letter + 8 digits; required on `create`).",
          "maxLength": 32,
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "document_type": {
          "anyOf": [
            {
              "$ref": "#/$defs/EmployeeDocumentTypeParam"
            },
            {
              "type": "null"
            }
          ],
          "description": "Document type code (`P`, `Z`, `S`, `I`, `KZP`, `KZZ`; required when `action=create`)."
        },
        "first_name": {
          "default": null,
          "description": "First name as printed in the document (`Z`, `I`, `KZP`, `KZZ`; cleared by core for `P` and `S`).",
          "maxLength": 100,
          "type": [
            "string",
            "null"
          ]
        },
        "issued_by": {
          "default": null,
          "description": "Issuing authority text (`0..=255` chars; `\"\"` clears).",
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        },
        "issuing_country": {
          "default": null,
          "description": "Issuing country ISO-2 code, country name, or directory ID resolved via `info.getCountryList` (stored by core only for `I` and `S`; ignored for `P`, `Z`, `KZP`, `KZZ`; cannot be cleared once set).",
          "maxLength": 120,
          "type": [
            "string",
            "null"
          ]
        },
        "last_name": {
          "default": null,
          "description": "Last name as printed in the document (`Z`, `I`, `KZP`, `KZZ`; cleared by core for `P` and `S`).",
          "maxLength": 100,
          "type": [
            "string",
            "null"
          ]
        },
        "middle_name": {
          "default": null,
          "description": "Middle name as printed in the document (`Z`, `I`, `KZP`, `KZZ`; cleared by core for `P` and `S`).",
          "maxLength": 100,
          "type": [
            "string",
            "null"
          ]
        },
        "resident_number": {
          "default": null,
          "description": "12-digit Kazakhstan resident identification number (IIN; required for `KZP` and `KZZ`, optional 0 or 12 digits for `I`).",
          "maxLength": 12,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "EmployeeDocumentTypeParam": {
      "description": "Supported travel identity document types in `employee_document_prepare`.",
      "oneOf": [
        {
          "const": "P",
          "description": "Russian internal passport (`P`, 10 digits, employee age >= 14).",
          "type": "string"
        },
        {
          "const": "Z",
          "description": "Russian international passport (`Z`, 9 digits, expiry required).",
          "type": "string"
        },
        {
          "const": "S",
          "description": "Birth certificate (`S`, Roman I..XXXV + 2 Cyrillic letters + 6 digits for RU citizens).",
          "type": "string"
        },
        {
          "const": "I",
          "description": "Foreign passport/document (`I`, 2..16 Latin/digits, expiry required, max 2 per employee).",
          "type": "string"
        },
        {
          "const": "KZP",
          "description": "Kazakhstan national ID (`KZP`, 9 digits, 12-digit IIN, issue & expiry dates, age >= 16).",
          "type": "string"
        },
        {
          "const": "KZZ",
          "description": "Kazakhstan international passport (`KZZ`, 1 Latin letter + 8 digits, 12-digit IIN, expiry required).",
          "type": "string"
        }
      ]
    }
  },
  "additionalProperties": false,
  "properties": {
    "action": {
      "$ref": "#/$defs/EmployeeDocumentActionParam",
      "description": "Document mutation action (`create`, `update`, or `delete`)."
    },
    "company_id": {
      "default": null,
      "description": "Target company identifier (`>= 1`) overriding the dialog active company for this edit. Pass only a `company_id` explicitly provided by the user or returned by `context_get` or `company_select` in this conversation; never guess or reuse IDs across conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "document_fields": {
      "anyOf": [
        {
          "$ref": "#/$defs/EmployeeDocumentFieldsParams"
        },
        {
          "type": "null"
        }
      ],
      "description": "Document field values for `create` or `update` (omit when `action=delete`)."
    },
    "document_id": {
      "default": null,
      "description": "Existing document identifier (`>= 1`; required for `update` and `delete`, omit for `create`). Pass only a `document_id` returned by `employee_get(sections=[\"documents\"])` in this conversation; never guess or reuse IDs across conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "user_id": {
      "default": null,
      "description": "Target employee identifier (`>= 1`; omit to manage the caller's own documents). Pass only a `user_id` explicitly provided by the user or returned by `context_get`, `employee_search`, `employee_get`, or `department_get` in this conversation; never guess or reuse IDs across conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "required": [
    "action"
  ],
  "type": "object"
}
The assistant shows the summary and waits for your yes
Step 2 · actionConfirm employee document changeemployee_document_confirmCreates, updates, or soft-deletes the prepared employee document after your explicit confirmation.Irreversible
Ask in the chat
Yes, save this document to the profile.

Re-checks live employee documents on the portal against concurrent edits before writing.

Parameters
quote_tokenstring · required
One-time confirmation token returned by employee_document_prepare in this conversation. Pass only the exact quote_token returned after the user explicitly confirmed the preview; never guess or reuse tokens across conversations.
target_user_idinteger · required
Exact target employee user_id (>= 1) quoted by employee_document_prepare, echoed for explicit confirmation. Pass only the exact target_user_id returned by employee_document_prepare in this conversation; never guess or reuse IDs across conversations.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_confirm
  • Changes data
  • Safe to repeat
  • Cannot be undone
  • mcp:confirm
Call examples 1

Confirm prepared employee document change

{
  "quote_token": "qt_doc_example",
  "target_user_id": 20015
}

Tool arguments. With the compact list the assistant passes them through tool_confirm.

Description for the model

Redeems a one-time quote_token from employee_document_prepare to create, update, or soft-delete one employee identity document via document.setDocuments. Re-checks live documents against concurrent edits (baseline_fingerprint) before writing and preserves unedited fields. Supports idempotent replay on the same quote_token. CALL WHEN: the user explicitly confirmed the prepared masked document diff in a prior turn and wants to save or delete it. DO NOT CALL: in the same turn as employee_document_prepare without explicit user confirmation, without a valid quote_token from this conversation, or to read documents (use employee_get).

JSON Schema
{
  "additionalProperties": false,
  "properties": {
    "quote_token": {
      "description": "One-time confirmation token returned by `employee_document_prepare` in this conversation. Pass only the exact `quote_token` returned after the user explicitly confirmed the preview; never guess or reuse tokens across conversations.",
      "maxLength": 64,
      "minLength": 1,
      "type": "string"
    },
    "target_user_id": {
      "description": "Exact target employee `user_id` (`>= 1`) quoted by `employee_document_prepare`, echoed for explicit confirmation. Pass only the exact `target_user_id` returned by `employee_document_prepare` in this conversation; never guess or reuse IDs across conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "quote_token",
    "target_user_id"
  ],
  "type": "object"
}

Until you confirm step 2, nothing is saved, booked, or charged.

Confirm employee card change

Actions · two steps
Step 1 · pre-checkEmployee card pre-checkemployee_card_prepareValidates permissions, carrier directory, card number format, Aeroflot tier, and personal rail discount card rules without saving.
Ask in the chat
Prepare adding my Aeroflot Bonus loyalty card with Gold tier.

Manages loyalty cards and personal employee rail discount cards only (company-wide corporate rail discounts are excluded); blocked when hide_employee_pii is enabled.

Parameters
actionenum · required
Card mutation action (upsert to add/update or delete to soft-delete).
upsertdelete
card_kindenum · required
Card category (bonus for airline/RZD-Bonus cards, or rail_discount for personal employee rail discount cards only).
bonusrail_discount
card_idinteger
Existing bonus card_id or personal rail assignment_id (>= 1; omit to create on upsert, required on delete). Pass only a card_id returned by employee_get in this conversation; never guess or reuse IDs across conversations.
card_payloadobject
Card fields for action=upsert (omit when action=delete).
Child fields · 7
card_payload.card_numberstring
Loyalty card number using Latin letters and digits only (/^[A-Za-z0-9]+$/, 1..=64 chars; card_kind=bonus only).
card_payload.card_number_codestring
Personal rail card number/code (required when the card requires a code or is a rail loyalty program; exactly 12 digits for BahnBonus; card_kind=rail_discount only).
card_payload.carrierstring
Airline IATA code (e.g. SU, S7, EK, RZHDB), carrier name, or directory ID resolved via info.getAirlineList (card_kind=bonus only; required when adding a new bonus card).
card_payload.rail_card_idinteger
Personal rail discount catalog card identifier (>= 1) from card.getRailDiscountCards('pax', userId) (card_kind=rail_discount only; required when assigning a new personal rail card). Pass only a rail_card_id returned in this conversation; never guess or reuse IDs across conversations.
card_payload.tierstring
Aeroflot (SU) loyalty tier (Basic, Basic Plus, Basic Pro, Silver, Gold, Platinum, Infinite Pro, Infinite; "" clears; card_kind=bonus with SU only).
card_payload.validity_fromstring
Optional personal rail card validity start date in YYYY-MM-DD format ("" clears; card_kind=rail_discount only).
card_payload.validity_untilstring
Optional personal rail card validity end date in YYYY-MM-DD format ("" clears; card_kind=rail_discount only).
company_idinteger
Target company identifier (>= 1) overriding the dialog active company for this edit. Pass only a company_id explicitly provided by the user or returned by context_get or company_select in this conversation; never guess or reuse IDs across conversations.
user_idinteger
Target employee identifier (>= 1; omit to manage the caller's own cards). Pass only a user_id explicitly provided by the user or returned by context_get, employee_search, employee_get, or department_get in this conversation; never guess or reuse IDs across conversations.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_prepare
  • Read-only
  • Safe to repeat
  • mcp:prepare
Call examples 2

Prepare adding an Aeroflot loyalty card with tier

{
  "card_kind": "bonus",
  "action": "upsert",
  "card_payload": {
    "carrier": "SU",
    "card_number": "123456789",
    "tier": "Gold"
  }
}

Prepare assigning a personal rail discount card

{
  "user_id": 20015,
  "card_kind": "rail_discount",
  "action": "upsert",
  "card_payload": {
    "rail_card_id": 102,
    "card_number_code": "708000000001"
  }
}

Tool arguments. With the compact list the assistant passes them through tool_prepare.

Description for the model

Strictly read-only pre-check for adding, updating, or deleting an employee loyalty card (card_kind=bonus: airline or RZD-Bonus) or personal rail discount card (card_kind=rail_discount: strictly personal user_id>0 assignments; company-wide corporate rail discounts are excluded). Validates permissions, hide_employee_pii=false, carrier/rail catalog, Aeroflot tier, 12-digit BahnBonus code, and duplicates. Returns a diff (masked existing number, normalized proposed number for review) and quote_token without writing. CALL WHEN: adding, updating, or deleting an employee's frequent-flyer, RZD-Bonus, or personal rail card. DO NOT CALL: to read cards (use employee_get), to edit corporate company-wide rail discounts, or to save directly (use employee_card_confirm).

JSON Schema
{
  "$defs": {
    "EmployeeCardActionParam": {
      "description": "Operation kind for `employee_card_prepare`.",
      "oneOf": [
        {
          "const": "upsert",
          "description": "Add a new card (`card_id` omitted) or update an existing card (`card_id` provided).",
          "type": "string"
        },
        {
          "const": "delete",
          "description": "Soft-delete an existing card (`card_id` required).",
          "type": "string"
        }
      ]
    },
    "EmployeeCardKindParam": {
      "description": "Card category managed by `employee_card_prepare` / `employee_card_confirm`.",
      "oneOf": [
        {
          "const": "bonus",
          "description": "Airline loyalty (frequent-flyer) card or RZD-Bonus card (`card.setCards`).",
          "type": "string"
        },
        {
          "const": "rail_discount",
          "description": "Personal European rail discount or loyalty card assigned to this employee (`user_id > 0`; company-wide corporate rail discounts are excluded).",
          "type": "string"
        }
      ]
    },
    "EmployeeCardPayloadParams": {
      "additionalProperties": false,
      "description": "Editable fields for adding or updating a loyalty card (`bonus`) or personal rail discount card (`rail_discount`).",
      "properties": {
        "card_number": {
          "default": null,
          "description": "Loyalty card number using Latin letters and digits only (`/^[A-Za-z0-9]+$/`, `1..=64` chars; `card_kind=bonus` only).",
          "maxLength": 64,
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "card_number_code": {
          "default": null,
          "description": "Personal rail card number/code (required when the card requires a code or is a rail loyalty program; exactly 12 digits for `BahnBonus`; `card_kind=rail_discount` only).",
          "maxLength": 64,
          "type": [
            "string",
            "null"
          ]
        },
        "carrier": {
          "default": null,
          "description": "Airline IATA code (e.g. `SU`, `S7`, `EK`, `RZHDB`), carrier name, or directory ID resolved via `info.getAirlineList` (`card_kind=bonus` only; required when adding a new bonus card).",
          "maxLength": 120,
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "rail_card_id": {
          "default": null,
          "description": "Personal rail discount catalog card identifier (`>= 1`) from `card.getRailDiscountCards('pax', userId)` (`card_kind=rail_discount` only; required when assigning a new personal rail card). Pass only a `rail_card_id` returned in this conversation; never guess or reuse IDs across conversations.",
          "format": "uint64",
          "minimum": 1,
          "type": [
            "integer",
            "null"
          ]
        },
        "tier": {
          "default": null,
          "description": "Aeroflot (`SU`) loyalty tier (`Basic`, `Basic Plus`, `Basic Pro`, `Silver`, `Gold`, `Platinum`, `Infinite Pro`, `Infinite`; `\"\"` clears; `card_kind=bonus` with `SU` only).",
          "maxLength": 32,
          "type": [
            "string",
            "null"
          ]
        },
        "validity_from": {
          "default": null,
          "description": "Optional personal rail card validity start date in `YYYY-MM-DD` format (`\"\"` clears; `card_kind=rail_discount` only).",
          "maxLength": 10,
          "type": [
            "string",
            "null"
          ]
        },
        "validity_until": {
          "default": null,
          "description": "Optional personal rail card validity end date in `YYYY-MM-DD` format (`\"\"` clears; `card_kind=rail_discount` only).",
          "maxLength": 10,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "action": {
      "$ref": "#/$defs/EmployeeCardActionParam",
      "description": "Card mutation action (`upsert` to add/update or `delete` to soft-delete)."
    },
    "card_id": {
      "default": null,
      "description": "Existing bonus `card_id` or personal rail `assignment_id` (`>= 1`; omit to create on `upsert`, required on `delete`). Pass only a `card_id` returned by `employee_get` in this conversation; never guess or reuse IDs across conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "card_kind": {
      "$ref": "#/$defs/EmployeeCardKindParam",
      "description": "Card category (`bonus` for airline/RZD-Bonus cards, or `rail_discount` for personal employee rail discount cards only)."
    },
    "card_payload": {
      "anyOf": [
        {
          "$ref": "#/$defs/EmployeeCardPayloadParams"
        },
        {
          "type": "null"
        }
      ],
      "description": "Card fields for `action=upsert` (omit when `action=delete`)."
    },
    "company_id": {
      "default": null,
      "description": "Target company identifier (`>= 1`) overriding the dialog active company for this edit. Pass only a `company_id` explicitly provided by the user or returned by `context_get` or `company_select` in this conversation; never guess or reuse IDs across conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "user_id": {
      "default": null,
      "description": "Target employee identifier (`>= 1`; omit to manage the caller's own cards). Pass only a `user_id` explicitly provided by the user or returned by `context_get`, `employee_search`, `employee_get`, or `department_get` in this conversation; never guess or reuse IDs across conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "required": [
    "card_kind",
    "action"
  ],
  "type": "object"
}
The assistant shows the summary and waits for your yes
Step 2 · actionConfirm employee card changeemployee_card_confirmAdds, updates, or deletes the prepared loyalty or personal rail discount card after your explicit confirmation.Irreversible
Ask in the chat
Yes, save this loyalty card.

Re-checks live employee cards before writing and preserves card details during soft deletion.

Parameters
quote_tokenstring · required
One-time confirmation token returned by employee_card_prepare in this conversation. Pass only the exact quote_token returned after the user explicitly confirmed the preview; never guess or reuse tokens across conversations.
target_user_idinteger · required
Exact target employee user_id (>= 1) quoted by employee_card_prepare, echoed for explicit confirmation. Pass only the exact target_user_id returned by employee_card_prepare in this conversation; never guess or reuse IDs across conversations.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_confirm
  • Changes data
  • Safe to repeat
  • Cannot be undone
  • mcp:confirm
Call examples 1

Confirm prepared employee card change

{
  "quote_token": "qt_card_example",
  "target_user_id": 20015
}

Tool arguments. With the compact list the assistant passes them through tool_confirm.

Description for the model

Redeems a one-time quote_token from employee_card_prepare to save or soft-delete one employee loyalty card (card.setCards) or personal rail discount assignment (card.setRailDiscounts, user_id>0 only). Re-checks live cards against concurrent edits (baseline_fingerprint) before writing and supports idempotent replay on the same quote_token. CALL WHEN: the user explicitly confirmed the prepared masked card preview in a prior turn and wants to save or delete it. DO NOT CALL: in the same turn as employee_card_prepare without explicit user confirmation, without a valid quote_token from this conversation, or to read cards (use employee_get).

JSON Schema
{
  "additionalProperties": false,
  "properties": {
    "quote_token": {
      "description": "One-time confirmation token returned by `employee_card_prepare` in this conversation. Pass only the exact `quote_token` returned after the user explicitly confirmed the preview; never guess or reuse tokens across conversations.",
      "maxLength": 64,
      "minLength": 1,
      "type": "string"
    },
    "target_user_id": {
      "description": "Exact target employee `user_id` (`>= 1`) quoted by `employee_card_prepare`, echoed for explicit confirmation. Pass only the exact `target_user_id` returned by `employee_card_prepare` in this conversation; never guess or reuse IDs across conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "quote_token",
    "target_user_id"
  ],
  "type": "object"
}

Until you confirm step 2, nothing is saved, booked, or charged.

Confirm employee absence change

Actions · two steps
Step 1 · pre-checkEmployee absence pre-checkemployee_absence_prepareValidates absence dates, checks for overlaps, and verifies deputy assignment permissions without saving.
Ask in the chat
Prepare my absence period from 2027-07-01 to 2027-07-14.

Saves nothing; catches overlapping absence periods upfront and prevents standard employees from assigning deputies.

Parameters
actionenum · required
Absence mutation action (create, update, or delete).
createupdatedelete
absence_idinteger
Existing absence period identifier (>= 1; required for update and delete, omit for create). Pass only an absence_id returned by employee_get(sections=["absences"]) in this conversation; never guess or reuse IDs across conversations.
clear_substituteboolean
Set true to remove the assigned deputy on update (not allowed for Employee role; cannot be combined with substitute_user_id).
company_idinteger
Target company identifier (>= 1) overriding the dialog active company for this edit. Pass only a company_id explicitly provided by the user or returned by context_get or company_select in this conversation; never guess or reuse IDs across conversations.
end_datestring
Absence end date in YYYY-MM-DD format (required on create; must be >= start_date).
start_datestring
Absence start date in YYYY-MM-DD format (required on create; cannot be in the past on create).
substitute_user_idinteger
Active colleague user_id (>= 1) in the same company acting as deputy during the absence (not allowed for standard Employee role; omit to leave unchanged or unassigned). Pass only a substitute_user_id returned by employee_search or department_get in this conversation; never guess or reuse IDs across conversations.
user_idinteger
Target employee identifier (>= 1; omit to manage the caller's own absence periods). Pass only a user_id explicitly provided by the user or returned by context_get, employee_search, employee_get, or department_get in this conversation; never guess or reuse IDs across conversations.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_prepare
  • Read-only
  • Safe to repeat
  • mcp:prepare
Call examples 2

Prepare creating an absence period

{
  "action": "create",
  "start_date": "2027-07-01",
  "end_date": "2027-07-14"
}

Prepare updating a colleague absence with a deputy

{
  "user_id": 20015,
  "action": "update",
  "absence_id": 7678,
  "end_date": "2027-07-20",
  "substitute_user_id": 20022
}

Tool arguments. With the compact list the assistant passes them through tool_prepare.

Description for the model

Strictly read-only pre-check for creating, updating, or deleting an employee absence period (vacation/out-of-office) and optional deputy. Validates permissions, clean YYYY-MM-DD dates (start_date<=end_date, not in the past), overlaps with existing absences, and deputy eligibility (forbidden for standard Employee role; editors may assign an active colleague in the same company). Returns a preview diff and one-time quote_token without writing. CALL WHEN: scheduling, editing, or removing an employee absence period or deputy. DO NOT CALL: to view absences (use employee_get) or to save directly (use employee_absence_confirm after user confirmation).

JSON Schema
{
  "$defs": {
    "EmployeeAbsenceActionParam": {
      "description": "Operation kind for `employee_absence_prepare`.",
      "oneOf": [
        {
          "const": "create",
          "description": "Create a new absence period.",
          "type": "string"
        },
        {
          "const": "update",
          "description": "Update an existing absence period (`absence_id` required).",
          "type": "string"
        },
        {
          "const": "delete",
          "description": "Soft-delete an existing absence period (`absence_id` required).",
          "type": "string"
        }
      ]
    }
  },
  "additionalProperties": false,
  "properties": {
    "absence_id": {
      "default": null,
      "description": "Existing absence period identifier (`>= 1`; required for `update` and `delete`, omit for `create`). Pass only an `absence_id` returned by `employee_get(sections=[\"absences\"])` in this conversation; never guess or reuse IDs across conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "action": {
      "$ref": "#/$defs/EmployeeAbsenceActionParam",
      "description": "Absence mutation action (`create`, `update`, or `delete`)."
    },
    "clear_substitute": {
      "default": false,
      "description": "Set `true` to remove the assigned deputy on `update` (not allowed for `Employee` role; cannot be combined with `substitute_user_id`).",
      "type": "boolean"
    },
    "company_id": {
      "default": null,
      "description": "Target company identifier (`>= 1`) overriding the dialog active company for this edit. Pass only a `company_id` explicitly provided by the user or returned by `context_get` or `company_select` in this conversation; never guess or reuse IDs across conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "end_date": {
      "default": null,
      "description": "Absence end date in `YYYY-MM-DD` format (required on `create`; must be `>= start_date`).",
      "maxLength": 10,
      "minLength": 10,
      "type": [
        "string",
        "null"
      ]
    },
    "start_date": {
      "default": null,
      "description": "Absence start date in `YYYY-MM-DD` format (required on `create`; cannot be in the past on `create`).",
      "maxLength": 10,
      "minLength": 10,
      "type": [
        "string",
        "null"
      ]
    },
    "substitute_user_id": {
      "default": null,
      "description": "Active colleague `user_id` (`>= 1`) in the same company acting as deputy during the absence (not allowed for standard `Employee` role; omit to leave unchanged or unassigned). Pass only a `substitute_user_id` returned by `employee_search` or `department_get` in this conversation; never guess or reuse IDs across conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "user_id": {
      "default": null,
      "description": "Target employee identifier (`>= 1`; omit to manage the caller's own absence periods). Pass only a `user_id` explicitly provided by the user or returned by `context_get`, `employee_search`, `employee_get`, or `department_get` in this conversation; never guess or reuse IDs across conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "required": [
    "action"
  ],
  "type": "object"
}
The assistant shows the summary and waits for your yes
Step 2 · actionConfirm employee absence changeemployee_absence_confirmCreates, updates, or deletes the prepared employee absence period after your explicit confirmation.Irreversible
Ask in the chat
Yes, save this absence period.

Re-checks live portal absences for concurrent edits and sends clean calendar dates without duplicate time suffixes.

Parameters
quote_tokenstring · required
One-time confirmation token returned by employee_absence_prepare in this conversation. Pass only the exact quote_token returned after the user explicitly confirmed the preview; never guess or reuse tokens across conversations.
target_user_idinteger · required
Exact target employee user_id (>= 1) quoted by employee_absence_prepare, echoed for explicit confirmation. Pass only the exact target_user_id returned by employee_absence_prepare in this conversation; never guess or reuse IDs across conversations.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_confirm
  • Changes data
  • Safe to repeat
  • Cannot be undone
  • mcp:confirm
Call examples 1

Confirm prepared employee absence change

{
  "quote_token": "qt_absence_example",
  "target_user_id": 20015
}

Tool arguments. With the compact list the assistant passes them through tool_confirm.

Description for the model

Redeems a one-time quote_token from employee_absence_prepare to create, update, or soft-delete one employee absence period via user.setUserAbsence using clean YYYY-MM-DD dates. Re-checks live portal absences against concurrent edits (baseline_fingerprint) before writing and supports idempotent replay on the same quote_token. CALL WHEN: the user explicitly confirmed the prepared absence preview in a prior turn and wants to save or delete it. DO NOT CALL: in the same turn as employee_absence_prepare without explicit user confirmation, without a valid quote_token from this conversation, or to read absences (use employee_get).

JSON Schema
{
  "additionalProperties": false,
  "properties": {
    "quote_token": {
      "description": "One-time confirmation token returned by `employee_absence_prepare` in this conversation. Pass only the exact `quote_token` returned after the user explicitly confirmed the preview; never guess or reuse tokens across conversations.",
      "maxLength": 64,
      "minLength": 1,
      "type": "string"
    },
    "target_user_id": {
      "description": "Exact target employee `user_id` (`>= 1`) quoted by `employee_absence_prepare`, echoed for explicit confirmation. Pass only the exact `target_user_id` returned by `employee_absence_prepare` in this conversation; never guess or reuse IDs across conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "quote_token",
    "target_user_id"
  ],
  "type": "object"
}

Until you confirm step 2, nothing is saved, booked, or charged.

Flights

10On the consent screen: Read or Actions

Search flights, compare fares and add-ons, and book or issue tickets after your confirmation.

Filter & sortavia_query_offersNarrows down and sorts the flights found: by price, stops, time, baggage, airline.Read
Ask in the chat
Keep the ones with checked baggage under 300 EUR and sort by departure time.

Works on the flights already found and does not start a new search.

Parameters
search_idstring · required
Saved flight search snapshot handle from avia_search (for example AS_0001). Pass only a search_id returned by avia_search in this conversation; never guess or reuse IDs across conversations.
airlinesstring[]
Inclusive IATA/ICAO carrier codes (SU, S7, DP): every segment of every leg must match one of these carriers.
baggage_includedboolean
Filter by checked baggage inclusion (true = baggage included on all segments, false = baggage not included).
exclude_airlinesstring[]
Carrier codes (DP, UT) to exclude if present as marketing, operating, or validating carrier on any segment.
flight_numberstring
Flight number filter across segments (accepts "1549", "0015", "SU 1549", "SU1549", "S7 1005").
in_policy_onlyboolean
When true, keep only offers compliant with corporate travel policy (in_policy).
21 more optional
limitinteger · 1…15
Maximum offers to return per page (1..=15, default 5).
max_duration_minutesinteger
Maximum leg duration in minutes (>= 1, checked against the longest route leg).
max_pricenumber
Maximum display price per offer in display currency (strictly positive decimal).
max_stopsinteger · 0…3
Maximum stops allowed on any route leg (0 = nonstop only, up to 3).
max_transfer_minutesinteger
Maximum layover duration at any single transfer in minutes (>= 1; nonstop offers pass).
no_airport_changeboolean
When true, exclude offers requiring airport change during a transfer.
no_overnight_transferboolean
When true, exclude offers with overnight transfers.
offsetinteger
Zero-based pagination offset (default 0).
outbound_arrival_airportsstring[]
Allowed arrival airport 3-letter IATA codes for leg 1 (outbound).
outbound_arrival_timestring
Outbound arrival local time window in HH:MM-HH:MM 24h format.
outbound_departure_airportsstring[]
Allowed departure airport 3-letter IATA codes for leg 1 (outbound), e.g. ["SVO", "VKO"].
outbound_departure_timestring
Outbound departure local time window in HH:MM-HH:MM 24h format (wraps midnight if start > end, e.g. 22:00-05:00).
refundableboolean
Filter by refundability (true = free or paid refund allowed, false = strictly non-refundable; unknown states excluded when set).
return_arrival_airportsstring[]
Allowed arrival airport IATA codes for leg 2 (return); valid only for round-trip searches.
return_arrival_timestring
Return arrival local time window (HH:MM-HH:MM); valid only for round-trip searches.
return_departure_airportsstring[]
Allowed departure airport IATA codes for leg 2 (return); valid only for round-trip searches.
return_departure_timestring
Return departure local time window (HH:MM-HH:MM); valid only for round-trip searches.
single_ticket_onlyboolean
When true, exclude split/merged one-way combinations (mergeOW); when false, return only merged offers.
sort_byenum
Sort criterion (recommended, price, duration, departure_time, arrival_time; default recommended).
recommendedpricedurationdeparture_timearrival_time
sort_orderenum
Sort direction (asc or desc; default asc).
ascdesc
transfer_airportsstring[]
Require at least one layover passing through one of these 3-letter IATA transfer airports.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_read
  • Read-only
  • Safe to repeat
  • mcp:read
Call examples 2

Direct morning flights with baggage sorted by price

{
  "search_id": "AS_0001",
  "max_stops": 0,
  "baggage_included": true,
  "outbound_departure_time": "07:00-12:00",
  "sort_by": "price",
  "sort_order": "asc",
  "limit": 5
}

Policy-compliant single-ticket offers without overnight transfers

{
  "search_id": "AS_0001",
  "max_price": 45000,
  "exclude_airlines": [
    "DP"
  ],
  "no_overnight_transfer": true,
  "no_airport_change": true,
  "refundable": true,
  "in_policy_only": true,
  "single_ticket_only": true,
  "sort_by": "duration",
  "offset": 0,
  "limit": 5
}

Tool arguments. With the compact list the assistant passes them through tool_read.

Description for the model

Filters, sorts, and paginates saved flight offers from an earlier avia_search snapshot in memory (0 upstream calls) while preserving stable short codes (F1..Fn). Supports stops, max price, inclusive/excluded airlines, per-leg outbound/return airports and HH:MM-HH:MM time windows, transfer airports/duration, no overnight or airport-change transfers, baggage, refundability, travel policy, single-ticket vs merged combinations, flight numbers, sort order, and offset/limit (default 5, max 15). CALL WHEN: refining, filtering, sorting, or paging results of an existing search_id. DO NOT CALL: before avia_search, without a known search_id from this conversation, or when changing route, dates, cabin class, or passengers (call avia_search).

JSON Schema
{
  "$defs": {
    "AviaSortByParam": {
      "description": "Sort key supported by `avia_query_offers`.",
      "oneOf": [
        {
          "const": "recommended",
          "description": "Preserve initial search ranking (`smart-pick` or default policy-first order).",
          "type": "string"
        },
        {
          "const": "price",
          "description": "Sort by client `display_price`.",
          "type": "string"
        },
        {
          "const": "duration",
          "description": "Sort by flight duration (`max(leg duration)` then total legs duration).",
          "type": "string"
        },
        {
          "const": "departure_time",
          "description": "Sort by outbound first-leg departure date and time.",
          "type": "string"
        },
        {
          "const": "arrival_time",
          "description": "Sort by final-leg arrival date and time.",
          "type": "string"
        }
      ]
    },
    "AviaSortOrderParam": {
      "description": "Sort direction supported by `avia_query_offers`.",
      "oneOf": [
        {
          "const": "asc",
          "description": "Ascending order (lowest price, shortest duration, earliest time).",
          "type": "string"
        },
        {
          "const": "desc",
          "description": "Descending order.",
          "type": "string"
        }
      ]
    }
  },
  "additionalProperties": false,
  "properties": {
    "airlines": {
      "default": null,
      "description": "Inclusive IATA/ICAO carrier codes (`SU`, `S7`, `DP`): every segment of every leg must match one of these carriers.",
      "items": {
        "type": "string"
      },
      "maxItems": 30,
      "minItems": 1,
      "type": [
        "array",
        "null"
      ]
    },
    "baggage_included": {
      "default": null,
      "description": "Filter by checked baggage inclusion (`true` = baggage included on all segments, `false` = baggage not included).",
      "type": [
        "boolean",
        "null"
      ]
    },
    "exclude_airlines": {
      "default": null,
      "description": "Carrier codes (`DP`, `UT`) to exclude if present as marketing, operating, or validating carrier on any segment.",
      "items": {
        "type": "string"
      },
      "maxItems": 30,
      "minItems": 1,
      "type": [
        "array",
        "null"
      ]
    },
    "flight_number": {
      "default": null,
      "description": "Flight number filter across segments (accepts `\"1549\"`, `\"0015\"`, `\"SU 1549\"`, `\"SU1549\"`, `\"S7 1005\"`).",
      "maxLength": 16,
      "minLength": 1,
      "type": [
        "string",
        "null"
      ]
    },
    "in_policy_only": {
      "default": null,
      "description": "When `true`, keep only offers compliant with corporate travel policy (`in_policy`).",
      "type": [
        "boolean",
        "null"
      ]
    },
    "limit": {
      "default": null,
      "description": "Maximum offers to return per page (`1..=15`, default `5`).",
      "format": "uint",
      "maximum": 15,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "max_duration_minutes": {
      "default": null,
      "description": "Maximum leg duration in minutes (`>= 1`, checked against the longest route leg).",
      "format": "uint32",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "max_price": {
      "description": "Maximum display price per offer in display currency (strictly positive decimal).",
      "format": "double",
      "type": [
        "number",
        "null"
      ]
    },
    "max_stops": {
      "default": null,
      "description": "Maximum stops allowed on any route leg (`0` = nonstop only, up to `3`).",
      "format": "uint8",
      "maximum": 3,
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "max_transfer_minutes": {
      "default": null,
      "description": "Maximum layover duration at any single transfer in minutes (`>= 1`; nonstop offers pass).",
      "format": "uint32",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "no_airport_change": {
      "default": null,
      "description": "When `true`, exclude offers requiring airport change during a transfer.",
      "type": [
        "boolean",
        "null"
      ]
    },
    "no_overnight_transfer": {
      "default": null,
      "description": "When `true`, exclude offers with overnight transfers.",
      "type": [
        "boolean",
        "null"
      ]
    },
    "offset": {
      "default": 0,
      "description": "Zero-based pagination offset (default `0`).",
      "format": "uint",
      "minimum": 0,
      "type": "integer"
    },
    "outbound_arrival_airports": {
      "default": null,
      "description": "Allowed arrival airport 3-letter IATA codes for leg 1 (outbound).",
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "minItems": 1,
      "type": [
        "array",
        "null"
      ]
    },
    "outbound_arrival_time": {
      "default": null,
      "description": "Outbound arrival local time window in `HH:MM-HH:MM` 24h format.",
      "type": [
        "string",
        "null"
      ]
    },
    "outbound_departure_airports": {
      "default": null,
      "description": "Allowed departure airport 3-letter IATA codes for leg 1 (outbound), e.g. `[\"SVO\", \"VKO\"]`.",
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "minItems": 1,
      "type": [
        "array",
        "null"
      ]
    },
    "outbound_departure_time": {
      "default": null,
      "description": "Outbound departure local time window in `HH:MM-HH:MM` 24h format (wraps midnight if start > end, e.g. `22:00-05:00`).",
      "type": [
        "string",
        "null"
      ]
    },
    "refundable": {
      "default": null,
      "description": "Filter by refundability (`true` = free or paid refund allowed, `false` = strictly non-refundable; unknown states excluded when set).",
      "type": [
        "boolean",
        "null"
      ]
    },
    "return_arrival_airports": {
      "default": null,
      "description": "Allowed arrival airport IATA codes for leg 2 (return); valid only for round-trip searches.",
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "minItems": 1,
      "type": [
        "array",
        "null"
      ]
    },
    "return_arrival_time": {
      "default": null,
      "description": "Return arrival local time window (`HH:MM-HH:MM`); valid only for round-trip searches.",
      "type": [
        "string",
        "null"
      ]
    },
    "return_departure_airports": {
      "default": null,
      "description": "Allowed departure airport IATA codes for leg 2 (return); valid only for round-trip searches.",
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "minItems": 1,
      "type": [
        "array",
        "null"
      ]
    },
    "return_departure_time": {
      "default": null,
      "description": "Return departure local time window (`HH:MM-HH:MM`); valid only for round-trip searches.",
      "type": [
        "string",
        "null"
      ]
    },
    "search_id": {
      "description": "Saved flight search snapshot handle from `avia_search` (for example `AS_0001`). Pass only a `search_id` returned by `avia_search` in this conversation; never guess or reuse IDs across conversations.",
      "maxLength": 64,
      "minLength": 1,
      "type": "string"
    },
    "single_ticket_only": {
      "default": null,
      "description": "When `true`, exclude split/merged one-way combinations (`mergeOW`); when `false`, return only merged offers.",
      "type": [
        "boolean",
        "null"
      ]
    },
    "sort_by": {
      "$ref": "#/$defs/AviaSortByParam",
      "description": "Sort criterion (`recommended`, `price`, `duration`, `departure_time`, `arrival_time`; default `recommended`)."
    },
    "sort_order": {
      "$ref": "#/$defs/AviaSortOrderParam",
      "description": "Sort direction (`asc` or `desc`; default `asc`)."
    },
    "transfer_airports": {
      "default": null,
      "description": "Require at least one layover passing through one of these 3-letter IATA transfer airports.",
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "minItems": 1,
      "type": [
        "array",
        "null"
      ]
    }
  },
  "required": [
    "search_id"
  ],
  "type": "object"
}
Fare optionsavia_get_brandsCompares fares for one flight: baggage, refunds, exchanges, and the price difference.Read
Ask in the chat
How do the fares differ for the first option?
Parameters
flight_idstring · required
Short flight offer code from avia_search or avia_query_offers (for example F1). Pass only a flight_id returned for this search_id in this conversation; never guess or reuse codes across conversations.
search_idstring · required
Saved flight search snapshot handle from avia_search (for example AS_0001). Pass only a search_id returned by avia_search in this conversation; never guess or reuse IDs across conversations.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_read
  • Read-only
  • Safe to repeat
  • Reaches airlines and suppliers
  • mcp:read
Call examples 1

Compare fare brands for flight F1

{
  "search_id": "AS_0001",
  "flight_id": "F1"
}

Tool arguments. With the compact list the assistant passes them through tool_read.

Description for the model

Loads and compares airline fare brands (families) for a saved flight_id from avia_search, including per-leg brands for merged one-way combinations (mergeOW), baggage/carry-on allowances, refund and exchange flags/fees, display prices with delta from the cheapest in-policy brand, seat/add-on flags, and two-stage corporate travel policy checks with violation reasons. Saves short brand codes (B1..Bn or B1_L1..B2_Ln) in the snapshot. CALL WHEN: comparing fare families, checking whether a baggage or refundable brand fits travel policy, or choosing brand_ids before reading fare rules, seat maps, or add-ons. DO NOT CALL: before avia_search, without a valid search_id and flight_id from this conversation, to filter search offers (use avia_query_offers), or to read full fare rules text (use avia_get_fare_rules).

JSON Schema
{
  "additionalProperties": false,
  "properties": {
    "flight_id": {
      "description": "Short flight offer code from `avia_search` or `avia_query_offers` (for example `F1`). Pass only a `flight_id` returned for this `search_id` in this conversation; never guess or reuse codes across conversations.",
      "maxLength": 16,
      "minLength": 1,
      "type": "string"
    },
    "search_id": {
      "description": "Saved flight search snapshot handle from `avia_search` (for example `AS_0001`). Pass only a `search_id` returned by `avia_search` in this conversation; never guess or reuse IDs across conversations.",
      "maxLength": 64,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "search_id",
    "flight_id"
  ],
  "type": "object"
}
Fare rulesavia_get_fare_rulesShows the airline rules: refund and exchange penalties, restrictions.Read
Ask in the chat
Can I return this ticket, and how much would they keep?
Parameters
flight_idstring · required
Short flight offer code from avia_search or avia_query_offers (for example F1). Pass only a flight_id returned for this search_id in this conversation; never guess or reuse codes across conversations.
search_idstring · required
Saved flight search snapshot handle from avia_search (for example AS_0001). Pass only a search_id returned by avia_search in this conversation; never guess or reuse IDs across conversations.
brand_idsstring[]
Optional fare brand codes from avia_get_brands (for example ["B2"] for a single ticket, or ["B1_L1", "B2_L2"] for a merged one-way offer — one code per leg; omit to inspect the base offer fare). Pass only brand_ids returned by avia_get_brands for this flight_id in this conversation; never guess or reuse codes across conversations.
offset_charsinteger
Zero-based character offset for paginating long fare rule texts (page size 4000 chars, default 0). Pass next_offset_chars when has_more=true.
sectionenum
Fare rules section to return (penalties default, restrictions, or full).
penaltiesrestrictionsfull

Technical descriptions are shown as the model sees them.

  • In your app: via tool_read
  • Read-only
  • Safe to repeat
  • Reaches airlines and suppliers
  • mcp:read
Call examples 1

Read refund and exchange penalties for brand B2

{
  "search_id": "AS_0001",
  "flight_id": "F1",
  "brand_ids": [
    "B2"
  ],
  "section": "penalties",
  "offset_chars": 0
}

Tool arguments. With the compact list the assistant passes them through tool_read.

Description for the model

Fetches and sanitizes airline fare rules (ATPCO or Sirena) for a saved flight_id or selected brand_ids from avia_get_brands, deduplicated per leg, split into structured sections (penalties for refund/exchange/no-show fees, restrictions for baggage/stay/routing, or full text), and paginated in 4000-character slices via offset_chars. CALL WHEN: the user asks about exact refund, exchange, no-show, baggage, or tariff conditions for a specific flight offer or fare brand. DO NOT CALL: before avia_search, without a valid search_id and flight_id, for merged one-way offers with partial brand_ids (pass one brand code per leg or omit brand_ids), to compare fare families (use avia_get_brands), or to inspect an already booked ticket (use trip_service_get).

JSON Schema
{
  "$defs": {
    "AviaFareRulesSectionParam": {
      "description": "Fare rules section selector supported by `avia_get_fare_rules`.",
      "oneOf": [
        {
          "const": "penalties",
          "description": "Refund, exchange, and no-show penalty sections (default).",
          "type": "string"
        },
        {
          "const": "restrictions",
          "description": "Baggage, stay, stopover, and ticket restriction sections.",
          "type": "string"
        },
        {
          "const": "full",
          "description": "Full sanitized fare rule text across all sections.",
          "type": "string"
        }
      ]
    }
  },
  "additionalProperties": false,
  "properties": {
    "brand_ids": {
      "default": null,
      "description": "Optional fare brand codes from `avia_get_brands` (for example `[\"B2\"]` for a single ticket, or `[\"B1_L1\", \"B2_L2\"]` for a merged one-way offer — one code per leg; omit to inspect the base offer fare). Pass only `brand_ids` returned by `avia_get_brands` for this `flight_id` in this conversation; never guess or reuse codes across conversations.",
      "items": {
        "type": "string"
      },
      "maxItems": 6,
      "minItems": 1,
      "type": [
        "array",
        "null"
      ]
    },
    "flight_id": {
      "description": "Short flight offer code from `avia_search` or `avia_query_offers` (for example `F1`). Pass only a `flight_id` returned for this `search_id` in this conversation; never guess or reuse codes across conversations.",
      "maxLength": 16,
      "minLength": 1,
      "type": "string"
    },
    "offset_chars": {
      "default": 0,
      "description": "Zero-based character offset for paginating long fare rule texts (page size `4000` chars, default `0`). Pass `next_offset_chars` when `has_more=true`.",
      "format": "uint",
      "minimum": 0,
      "type": "integer"
    },
    "search_id": {
      "description": "Saved flight search snapshot handle from `avia_search` (for example `AS_0001`). Pass only a `search_id` returned by `avia_search` in this conversation; never guess or reuse IDs across conversations.",
      "maxLength": 64,
      "minLength": 1,
      "type": "string"
    },
    "section": {
      "$ref": "#/$defs/AviaFareRulesSectionParam",
      "description": "Fare rules section to return (`penalties` default, `restrictions`, or `full`)."
    }
  },
  "required": [
    "search_id",
    "flight_id"
  ],
  "type": "object"
}
Seat mapavia_get_seatmapShows the cabin: free seats, prices, and what your travel policy allows.Read
Ask in the chat
Any free window seats near the front?
Parameters
flight_idstring · required
Short flight offer code from avia_search or avia_query_offers (for example F1). Pass only a flight_id returned for this search_id in this conversation; never guess or reuse codes across conversations.
search_idstring · required
Saved flight search snapshot handle from avia_search (for example AS_0001). Pass only a search_id returned by avia_search in this conversation; never guess or reuse IDs across conversations.
brand_idsstring[]
Optional fare brand codes from avia_get_brands (for example ["B2"] for a single ticket, or ["B1_L1", "B2_L2"] for a merged one-way offer — one code per leg). Pass only brand_ids returned by avia_get_brands for this flight_id in this conversation; never guess or reuse codes across conversations.
filterenum
Seat filter applied to the returned rows (all, free, window, aisle, or extra_legroom; default all).
allfreewindowaisleextra_legroom
order_idinteger
Optional existing trip order identifier (>= 1) used to resolve concrete passengers when the original avia_search was anonymous. Pass only an order_id explicitly provided by the user or returned by trip_list or trip_get in this conversation; never guess or reuse IDs from other conversations.
passenger_user_idsinteger[]
Optional employee or guest user identifiers (1..=7 items, each >= 1) supplying concrete passengers when the original search was anonymous. Pass only user_id values explicitly provided by the user or returned by context_get, employee_search, or trip_get in this conversation; never guess or fabricate IDs.
3 more optional
row_frominteger · 1…200
First cabin row number to include (inclusive; up to 10 rows returned per call). Pass next_row_from when has_more_rows=true.
row_tointeger · 1…200
Last cabin row number to include (inclusive; clamped to at most 10 rows per call).
segment_indexinteger · 1…20
1-based flight segment index across all route legs to inspect (default 1). Switch using segments_summary.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_read
  • Read-only
  • Safe to repeat
  • Reaches airlines and suppliers
  • mcp:read
Call examples 1

Inspect window seats in rows 1 to 10 of segment 1

{
  "search_id": "AS_0001",
  "flight_id": "F1",
  "segment_index": 1,
  "filter": "window",
  "row_from": 1,
  "row_to": 10
}

Tool arguments. With the compact list the assistant passes them through tool_read.

Description for the model

Loads the aircraft seat map for a saved flight_id (or selected brand_ids) and verified passengers, applying cabin layout, exit/wing rows, infant/child eligibility, travel policy seat rules (allowed, free_only, forbidden), and per-seat pricing with short codes (S_1_8A). Returns full-cabin counts, recommended seats, and up to 10 rows per call via segment_index, row_from/row_to, and filter (all, free, window, aisle, extra_legroom). Reports VIEW_ONLY, UNSUPPORTED, or PASSENGERS_REQUIRED explicitly with reasons. CALL WHEN: checking seat availability, prices, policy compliance, or choosing seats for a flight offer. DO NOT CALL: before avia_search, without a valid search_id and flight_id, to fetch baggage/meals/insurance (use avia_get_ancillaries), or for already booked services (use trip_service_get).

JSON Schema
{
  "$defs": {
    "AviaSeatFilterParam": {
      "description": "Seat filter supported by `avia_get_seatmap`.",
      "oneOf": [
        {
          "const": "all",
          "description": "Show all seats in the requested row slice (default).",
          "type": "string"
        },
        {
          "const": "free",
          "description": "Show only available free seats eligible for at least one passenger.",
          "type": "string"
        },
        {
          "const": "window",
          "description": "Show only window seats (`W` trait).",
          "type": "string"
        },
        {
          "const": "aisle",
          "description": "Show only aisle seats (`A` trait).",
          "type": "string"
        },
        {
          "const": "extra_legroom",
          "description": "Show only extra-legroom seats (`L` / `E` / `extraLegroom` traits).",
          "type": "string"
        }
      ]
    }
  },
  "additionalProperties": false,
  "properties": {
    "brand_ids": {
      "default": null,
      "description": "Optional fare brand codes from `avia_get_brands` (for example `[\"B2\"]` for a single ticket, or `[\"B1_L1\", \"B2_L2\"]` for a merged one-way offer — one code per leg). Pass only `brand_ids` returned by `avia_get_brands` for this `flight_id` in this conversation; never guess or reuse codes across conversations.",
      "items": {
        "type": "string"
      },
      "maxItems": 6,
      "minItems": 1,
      "type": [
        "array",
        "null"
      ]
    },
    "filter": {
      "$ref": "#/$defs/AviaSeatFilterParam",
      "description": "Seat filter applied to the returned rows (`all`, `free`, `window`, `aisle`, or `extra_legroom`; default `all`)."
    },
    "flight_id": {
      "description": "Short flight offer code from `avia_search` or `avia_query_offers` (for example `F1`). Pass only a `flight_id` returned for this `search_id` in this conversation; never guess or reuse codes across conversations.",
      "maxLength": 16,
      "minLength": 1,
      "type": "string"
    },
    "order_id": {
      "default": null,
      "description": "Optional existing trip order identifier (`>= 1`) used to resolve concrete passengers when the original `avia_search` was anonymous. Pass only an `order_id` explicitly provided by the user or returned by `trip_list` or `trip_get` in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "passenger_user_ids": {
      "default": null,
      "description": "Optional employee or guest user identifiers (`1..=7` items, each `>= 1`) supplying concrete passengers when the original search was anonymous. Pass only `user_id` values explicitly provided by the user or returned by `context_get`, `employee_search`, or `trip_get` in this conversation; never guess or fabricate IDs.",
      "items": {
        "format": "uint64",
        "minimum": 1,
        "type": "integer"
      },
      "maxItems": 7,
      "minItems": 1,
      "type": [
        "array",
        "null"
      ]
    },
    "row_from": {
      "default": null,
      "description": "First cabin row number to include (inclusive; up to 10 rows returned per call). Pass `next_row_from` when `has_more_rows=true`.",
      "format": "uint32",
      "maximum": 200,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "row_to": {
      "default": null,
      "description": "Last cabin row number to include (inclusive; clamped to at most 10 rows per call).",
      "format": "uint32",
      "maximum": 200,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "search_id": {
      "description": "Saved flight search snapshot handle from `avia_search` (for example `AS_0001`). Pass only a `search_id` returned by `avia_search` in this conversation; never guess or reuse IDs across conversations.",
      "maxLength": 64,
      "minLength": 1,
      "type": "string"
    },
    "segment_index": {
      "default": null,
      "description": "1-based flight segment index across all route legs to inspect (default `1`). Switch using `segments_summary`.",
      "format": "uint32",
      "maximum": 20,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "required": [
    "search_id",
    "flight_id"
  ],
  "type": "object"
}
Baggage & add-onsavia_get_ancillariesShows what can be added to a ticket: baggage, meals, Aeroexpress, insurance.Read
Ask in the chat
How much is an extra 23 kg bag?
Parameters
flight_idstring · required
Short flight offer code from avia_search or avia_query_offers (for example F1). Pass only a flight_id returned for this search_id in this conversation; never guess or reuse codes across conversations.
search_idstring · required
Saved flight search snapshot handle from avia_search (for example AS_0001). Pass only a search_id returned by avia_search in this conversation; never guess or reuse IDs across conversations.
brand_idsstring[]
Optional fare brand codes from avia_get_brands (for example ["B2"] for a single ticket, or ["B1_L1", "B2_L2"] for a merged one-way offer — one code per leg). Pass only brand_ids returned by avia_get_brands for this flight_id in this conversation; never guess or reuse codes across conversations.
categoryenum
Add-on category filter (all, baggage, carry_on, meal, aeroexpress, insurance, or other; default all).
allbaggagecarry_onmealaeroexpressinsuranceother
limitinteger · 1…20
Maximum number of add-ons to return per page (1..=20, default 10).
offsetinteger
Zero-based pagination offset into the filtered add-ons list (default 0). Pass next_offset when has_more=true.
order_idinteger
Optional existing trip order identifier (>= 1) used to resolve concrete passengers when the original avia_search was anonymous. Pass only an order_id explicitly provided by the user or returned by trip_list or trip_get in this conversation; never guess or reuse IDs from other conversations.
passenger_user_idsinteger[]
Optional employee or guest user identifiers (1..=7 items, each >= 1) supplying concrete passengers when the original search was anonymous. Pass only user_id values explicitly provided by the user or returned by context_get, employee_search, or trip_get in this conversation; never guess or fabricate IDs.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_read
  • Read-only
  • Safe to repeat
  • Reaches airlines and suppliers
  • mcp:read
Call examples 2

List all available flight add-ons in one call

{
  "search_id": "AS_0001",
  "flight_id": "F1",
  "category": "all",
  "offset": 0,
  "limit": 20
}

List available baggage add-ons for flight F1

{
  "search_id": "AS_0001",
  "flight_id": "F1",
  "category": "baggage",
  "offset": 0,
  "limit": 10
}

Tool arguments. With the compact list the assistant passes them through tool_read.

Description for the model

Loads flight add-ons for a saved flight_id (or selected brand_ids) and verified passengers across up to three sources: airline GDS extras (extra baggage, meals, lounge, sports equipment), Moscow Aeroexpress tickets (DME/SVO within 90 days), and flight insurance, assigning short codes (A1..An) with corporate policy checks, passenger eligibility, mandatory option flags, and explicit soft-degradation notices. Paginates results via category, offset, and limit (default 10, max 20) while returning full category summaries. CALL WHEN: checking available extra baggage, meals, Aeroexpress, or insurance options and prices for a flight offer. DO NOT CALL: before avia_search, without a valid search_id and flight_id, to inspect aircraft seats (use avia_get_seatmap), or to compare fare brands (use avia_get_brands).

JSON Schema
{
  "$defs": {
    "AviaAncillaryCategoryParam": {
      "description": "Add-on category filter supported by `avia_get_ancillaries`.",
      "oneOf": [
        {
          "const": "all",
          "description": "Return add-ons from all categories (default).",
          "type": "string"
        },
        {
          "const": "baggage",
          "description": "Checked and extra baggage options.",
          "type": "string"
        },
        {
          "const": "carry_on",
          "description": "Carry-on and cabin luggage options (`type=2, subType=201`).",
          "type": "string"
        },
        {
          "const": "meal",
          "description": "In-flight meal options.",
          "type": "string"
        },
        {
          "const": "aeroexpress",
          "description": "Moscow Aeroexpress tickets (`DME`/`SVO`).",
          "type": "string"
        },
        {
          "const": "insurance",
          "description": "Flight travel insurance options.",
          "type": "string"
        },
        {
          "const": "other",
          "description": "Lounge, fast track, sports equipment, special baggage, and other carrier options.",
          "type": "string"
        }
      ]
    }
  },
  "additionalProperties": false,
  "properties": {
    "brand_ids": {
      "default": null,
      "description": "Optional fare brand codes from `avia_get_brands` (for example `[\"B2\"]` for a single ticket, or `[\"B1_L1\", \"B2_L2\"]` for a merged one-way offer — one code per leg). Pass only `brand_ids` returned by `avia_get_brands` for this `flight_id` in this conversation; never guess or reuse codes across conversations.",
      "items": {
        "type": "string"
      },
      "maxItems": 6,
      "minItems": 1,
      "type": [
        "array",
        "null"
      ]
    },
    "category": {
      "$ref": "#/$defs/AviaAncillaryCategoryParam",
      "description": "Add-on category filter (`all`, `baggage`, `carry_on`, `meal`, `aeroexpress`, `insurance`, or `other`; default `all`)."
    },
    "flight_id": {
      "description": "Short flight offer code from `avia_search` or `avia_query_offers` (for example `F1`). Pass only a `flight_id` returned for this `search_id` in this conversation; never guess or reuse codes across conversations.",
      "maxLength": 16,
      "minLength": 1,
      "type": "string"
    },
    "limit": {
      "default": null,
      "description": "Maximum number of add-ons to return per page (`1..=20`, default `10`).",
      "format": "uint",
      "maximum": 20,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "offset": {
      "default": 0,
      "description": "Zero-based pagination offset into the filtered add-ons list (default `0`). Pass `next_offset` when `has_more=true`.",
      "format": "uint",
      "minimum": 0,
      "type": "integer"
    },
    "order_id": {
      "default": null,
      "description": "Optional existing trip order identifier (`>= 1`) used to resolve concrete passengers when the original `avia_search` was anonymous. Pass only an `order_id` explicitly provided by the user or returned by `trip_list` or `trip_get` in this conversation; never guess or reuse IDs from other conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "passenger_user_ids": {
      "default": null,
      "description": "Optional employee or guest user identifiers (`1..=7` items, each `>= 1`) supplying concrete passengers when the original search was anonymous. Pass only `user_id` values explicitly provided by the user or returned by `context_get`, `employee_search`, or `trip_get` in this conversation; never guess or fabricate IDs.",
      "items": {
        "format": "uint64",
        "minimum": 1,
        "type": "integer"
      },
      "maxItems": 7,
      "minItems": 1,
      "type": [
        "array",
        "null"
      ]
    },
    "search_id": {
      "description": "Saved flight search snapshot handle from `avia_search` (for example `AS_0001`). Pass only a `search_id` returned by `avia_search` in this conversation; never guess or reuse IDs across conversations.",
      "maxLength": 64,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "search_id",
    "flight_id"
  ],
  "type": "object"
}

Flight booking

Actions · two steps
Step 1 · pre-checkBooking pre-checkavia_prepare_bookingChecks travelers, documents, travel policy, and budget, and shows the final price.
Ask in the chat
Book the first option for me.

Books nothing. Document numbers are shown masked.

Parameters
flight_idstring · required
Short flight offer code from avia_search or avia_query_offers (for example F1). Pass only a flight_id returned for this search_id in this conversation; never guess or reuse codes across conversations.
order_idinteger · required
Existing trip order identifier (>= 1) with active passengers to bind this flight booking. Pass only an order_id explicitly provided by the user or returned by trip_list, trip_get, or trip_confirm in this conversation; never guess or reuse IDs across conversations.
search_idstring · required
Saved flight search snapshot handle from avia_search (for example AS_0001). Pass only a search_id returned by avia_search in this conversation; never guess or reuse IDs across conversations.
allow_duplicatesboolean
Set true only after the user explicitly confirmed proceeding despite a duplicate-service warning returned by avia_prepare_booking.
ancillary_selectionsobject[]
Optional flight add-on selections from avia_get_ancillaries (1..=30 entries).
Child fields · 3
ancillary_selections[].ancillary_idstring · required
Short add-on handle returned by avia_get_ancillaries (for example A1, A1_L1, or A2_L2). Pass only an exact ancillary_id returned by avia_get_ancillaries for this search_id and flight_id in this conversation; never guess or reuse codes across conversations.
ancillary_selections[].quantityinteger · 1…10
Optional unit quantity (1..=10) for Aeroexpress or countable carrier add-ons.
ancillary_selections[].user_idsinteger[]
Optional subset of passenger user identifiers (1..=7 items, each >= 1) receiving this add-on (defaults to all eligible passengers on the order). Pass only user_id values from this trip order in this conversation; never guess or fabricate IDs.
brand_idsstring[]
Optional fare brand codes from avia_get_brands (for example ["B2"] for a single ticket, or ["B1_L1", "B2_L2"] for a merged one-way offer — one code per leg; omit for the base offer fare). Pass only brand_ids returned by avia_get_brands for this flight_id in this conversation; never guess or reuse codes across conversations.
5 more optional
document_overridesobject[]
Optional explicit passenger document overrides (1..=7 entries) when overriding automatic route document selection.
Child fields · 2
document_overrides[].document_idinteger · required
Passenger travel document identifier (>= 1 to select a document returned by employee_search, context_get, or avia_prepare_booking, or 0 to omit an optional document when documentIsRequired=false). Never guess or reuse IDs across conversations.
document_overrides[].user_idinteger · required
Passenger user identifier (>= 1). Pass only a user_id belonging to this trip order in this conversation; never guess or fabricate IDs.
seat_selectionsobject[]
Optional cabin seat selections from avia_get_seatmap (1..=50 entries).
Child fields · 2
seat_selections[].seat_idstring · required
Short seat handle returned by avia_get_seatmap (for example S_1_08A). Pass only an exact seat_id returned by avia_get_seatmap for this search_id and flight_id in this conversation; never guess or reuse codes across conversations.
seat_selections[].user_idinteger · required
Passenger user identifier (>= 1). Pass only a user_id from the trip order, context_get, employee_search, or avia_get_seatmap in this conversation; never guess or fabricate IDs.
travel_policy_violation_reasonstring
Justification for booking an out-of-policy flight (10..=250 raw characters, single line, no HTML) when required by company travel policy; must be provided by the user.
vessel_countrystring
Vessel flag country name or ISO code (1..=120 chars) required only for seaman (SEA) tariffs.
vessel_namestring
Vessel name (1..=120 chars) required only for seaman (SEA) tariffs.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_prepare
  • Read-only
  • Safe to repeat
  • Reaches airlines and suppliers
  • mcp:prepare
Call examples 2

Pre-check base flight booking for an existing order

{
  "search_id": "AS_0001",
  "flight_id": "F1",
  "order_id": 26695
}

Pre-check booking with fare brand, seat, add-on, and policy justification

{
  "search_id": "AS_0001",
  "flight_id": "F1",
  "order_id": 26695,
  "brand_ids": [
    "B2"
  ],
  "seat_selections": [
    {
      "user_id": 20011,
      "seat_id": "S_1_08A"
    }
  ],
  "ancillary_selections": [
    {
      "ancillary_id": "A1",
      "user_ids": [
        20011
      ],
      "quantity": 1
    }
  ],
  "travel_policy_violation_reason": "Direct morning flight required for client meeting"
}

Tool arguments. With the compact list the assistant passes them through tool_prepare.

Description for the model

Strictly read-only flight booking pre-check. Verifies order status, active passengers, route/date corridor, departure lead time, seaman tariff metadata, passenger documents, seat/add-on compatibility, travel policy rules, budget/balance, and duplicate bookings, then returns a full price breakdown with masked documents and a one-time quote_token without writing to core. CALL WHEN: the user selected a flight (and optional brand/seats/add-ons) for an existing trip order and wants to review the final booking summary before creating the reservation. DO NOT CALL: to actually create the reservation (use avia_confirm_booking after user review), to search flights (use avia_search), or without an existing order_id (create a trip first via trip_prepare and trip_confirm).

JSON Schema
{
  "$defs": {
    "AviaBookingAncillarySelectionParam": {
      "additionalProperties": false,
      "description": "Flight add-on selection (`GDS` baggage/meal, Aeroexpress, or insurance) in `avia_prepare_booking`.",
      "properties": {
        "ancillary_id": {
          "description": "Short add-on handle returned by `avia_get_ancillaries` (for example `A1`, `A1_L1`, or `A2_L2`). Pass only an exact `ancillary_id` returned by `avia_get_ancillaries` for this `search_id` and `flight_id` in this conversation; never guess or reuse codes across conversations.",
          "maxLength": 32,
          "minLength": 1,
          "type": "string"
        },
        "quantity": {
          "default": null,
          "description": "Optional unit quantity (`1..=10`) for Aeroexpress or countable carrier add-ons.",
          "format": "uint32",
          "maximum": 10,
          "minimum": 1,
          "type": [
            "integer",
            "null"
          ]
        },
        "user_ids": {
          "default": null,
          "description": "Optional subset of passenger user identifiers (`1..=7` items, each `>= 1`) receiving this add-on (defaults to all eligible passengers on the order). Pass only `user_id` values from this trip order in this conversation; never guess or fabricate IDs.",
          "items": {
            "format": "uint64",
            "minimum": 1,
            "type": "integer"
          },
          "maxItems": 7,
          "minItems": 1,
          "type": [
            "array",
            "null"
          ]
        }
      },
      "required": [
        "ancillary_id"
      ],
      "type": "object"
    },
    "AviaBookingSeatSelectionParam": {
      "additionalProperties": false,
      "description": "Cabin seat assignment for a single passenger in `avia_prepare_booking`.",
      "properties": {
        "seat_id": {
          "description": "Short seat handle returned by `avia_get_seatmap` (for example `S_1_08A`). Pass only an exact `seat_id` returned by `avia_get_seatmap` for this `search_id` and `flight_id` in this conversation; never guess or reuse codes across conversations.",
          "maxLength": 32,
          "minLength": 1,
          "type": "string"
        },
        "user_id": {
          "description": "Passenger user identifier (`>= 1`). Pass only a `user_id` from the trip order, `context_get`, `employee_search`, or `avia_get_seatmap` in this conversation; never guess or fabricate IDs.",
          "format": "uint64",
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "user_id",
        "seat_id"
      ],
      "type": "object"
    },
    "AviaPassengerDocumentOverrideParam": {
      "additionalProperties": false,
      "description": "Explicit passenger travel document selection overriding automatic route selection in `avia_prepare_booking`.",
      "properties": {
        "document_id": {
          "description": "Passenger travel document identifier (`>= 1` to select a document returned by `employee_search`, `context_get`, or `avia_prepare_booking`, or `0` to omit an optional document when `documentIsRequired=false`). Never guess or reuse IDs across conversations.",
          "format": "uint64",
          "minimum": 0,
          "type": "integer"
        },
        "user_id": {
          "description": "Passenger user identifier (`>= 1`). Pass only a `user_id` belonging to this trip order in this conversation; never guess or fabricate IDs.",
          "format": "uint64",
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "user_id",
        "document_id"
      ],
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "allow_duplicates": {
      "default": false,
      "description": "Set `true` only after the user explicitly confirmed proceeding despite a duplicate-service warning returned by `avia_prepare_booking`.",
      "type": "boolean"
    },
    "ancillary_selections": {
      "description": "Optional flight add-on selections from `avia_get_ancillaries` (`1..=30` entries).",
      "items": {
        "$ref": "#/$defs/AviaBookingAncillarySelectionParam"
      },
      "maxItems": 30,
      "minItems": 1,
      "type": [
        "array",
        "null"
      ]
    },
    "brand_ids": {
      "default": null,
      "description": "Optional fare brand codes from `avia_get_brands` (for example `[\"B2\"]` for a single ticket, or `[\"B1_L1\", \"B2_L2\"]` for a merged one-way offer — one code per leg; omit for the base offer fare). Pass only `brand_ids` returned by `avia_get_brands` for this `flight_id` in this conversation; never guess or reuse codes across conversations.",
      "items": {
        "type": "string"
      },
      "maxItems": 6,
      "minItems": 1,
      "type": [
        "array",
        "null"
      ]
    },
    "document_overrides": {
      "description": "Optional explicit passenger document overrides (`1..=7` entries) when overriding automatic route document selection.",
      "items": {
        "$ref": "#/$defs/AviaPassengerDocumentOverrideParam"
      },
      "maxItems": 7,
      "minItems": 1,
      "type": [
        "array",
        "null"
      ]
    },
    "flight_id": {
      "description": "Short flight offer code from `avia_search` or `avia_query_offers` (for example `F1`). Pass only a `flight_id` returned for this `search_id` in this conversation; never guess or reuse codes across conversations.",
      "maxLength": 16,
      "minLength": 1,
      "type": "string"
    },
    "order_id": {
      "description": "Existing trip order identifier (`>= 1`) with active passengers to bind this flight booking. Pass only an `order_id` explicitly provided by the user or returned by `trip_list`, `trip_get`, or `trip_confirm` in this conversation; never guess or reuse IDs across conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": "integer"
    },
    "search_id": {
      "description": "Saved flight search snapshot handle from `avia_search` (for example `AS_0001`). Pass only a `search_id` returned by `avia_search` in this conversation; never guess or reuse IDs across conversations.",
      "maxLength": 64,
      "minLength": 1,
      "type": "string"
    },
    "seat_selections": {
      "description": "Optional cabin seat selections from `avia_get_seatmap` (`1..=50` entries).",
      "items": {
        "$ref": "#/$defs/AviaBookingSeatSelectionParam"
      },
      "maxItems": 50,
      "minItems": 1,
      "type": [
        "array",
        "null"
      ]
    },
    "travel_policy_violation_reason": {
      "default": null,
      "description": "Justification for booking an out-of-policy flight (`10..=250` raw characters, single line, no HTML) when required by company travel policy; must be provided by the user.",
      "maxLength": 250,
      "minLength": 10,
      "type": [
        "string",
        "null"
      ]
    },
    "vessel_country": {
      "default": null,
      "description": "Vessel flag country name or ISO code (`1..=120` chars) required only for seaman (`SEA`) tariffs.",
      "maxLength": 120,
      "minLength": 1,
      "type": [
        "string",
        "null"
      ]
    },
    "vessel_name": {
      "default": null,
      "description": "Vessel name (`1..=120` chars) required only for seaman (`SEA`) tariffs.",
      "maxLength": 120,
      "minLength": 1,
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "search_id",
    "flight_id",
    "order_id"
  ],
  "type": "object"
}
The assistant shows the summary and waits for your yes
Step 2 · actionFlight bookingavia_confirm_bookingBooks the flight and adds it to the trip after you say yes.
Ask in the chat
Yes, book it.

A booking is not a ticket yet: issuing is a separate action with its own confirmation.

Parameters
confirmed_currencystring · required
Exact 3-letter ISO currency code quoted by avia_prepare_booking (for example RUB, AED, USD).
confirmed_total_amountnumber · required
Exact total booking amount quoted by avia_prepare_booking (total_amount), echoed for explicit financial confirmation.
quote_tokenstring · required
One-time confirmation token returned by avia_prepare_booking in this conversation. Pass only the exact quote_token returned after the user explicitly confirmed the booking summary; never guess or reuse tokens across conversations.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_confirm
  • Changes data
  • Safe to repeat
  • Reaches airlines and suppliers
  • mcp:confirm
Call examples 1

Confirm flight reservation echoing exact quoted amount and currency

{
  "quote_token": "QT_BOOK_01",
  "confirmed_total_amount": 18500,
  "confirmed_currency": "RUB"
}

Tool arguments. With the compact list the assistant passes them through tool_confirm.

Description for the model

Redeems a one-time quote_token from avia_prepare_booking to create the flight reservation(s) in GDS and attach them to the trip order (supports single tickets and sequential mergeOW pairs with PARTIAL_BOOKING protection and idempotent disconnect recovery). Requires echoing confirmed_total_amount and confirmed_currency from the prepared summary. CALL WHEN: the user explicitly confirmed the avia_prepare_booking summary in a prior turn (or via client confirmation prompt) and wants to place the reservation. DO NOT CALL: in the same turn as avia_prepare_booking without user confirmation, without a valid quote_token from this conversation, or to issue tickets for an already reserved flight (use avia_prepare_issue).

JSON Schema
{
  "additionalProperties": false,
  "properties": {
    "confirmed_currency": {
      "description": "Exact 3-letter ISO currency code quoted by `avia_prepare_booking` (for example `RUB`, `AED`, `USD`).",
      "maxLength": 8,
      "minLength": 3,
      "type": "string"
    },
    "confirmed_total_amount": {
      "description": "Exact total booking amount quoted by `avia_prepare_booking` (`total_amount`), echoed for explicit financial confirmation.",
      "format": "double",
      "type": "number"
    },
    "quote_token": {
      "description": "One-time confirmation token returned by `avia_prepare_booking` in this conversation. Pass only the exact `quote_token` returned after the user explicitly confirmed the booking summary; never guess or reuse tokens across conversations.",
      "maxLength": 64,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "quote_token",
    "confirmed_total_amount",
    "confirmed_currency"
  ],
  "type": "object"
}

Until you confirm step 2, nothing is saved, booked, or charged.

Ticket issuing

Actions · two steps
Step 1 · pre-checkTicketing pre-checkavia_prepare_issueChecks the booking, the buyout deadline, and payment, and names the exact amount to be charged.
Ask in the chat
Issue the ticket for my Berlin booking.

Issues nothing and charges nothing.

Parameters
order_idinteger · required
Existing trip order identifier (>= 1) containing the reserved flight service. Pass only an order_id explicitly provided by the user or returned by trip_list, trip_get, or avia_confirm_booking in this conversation; never guess or reuse IDs across conversations.
service_idinteger · required
Reserved flight service identifier (>= 1) within the order to issue tickets for. Pass only an exact service_id returned by trip_get or avia_confirm_booking for this order_id in this conversation; never guess or reuse IDs across conversations.
accept_repriceboolean
Set true only after the user explicitly accepted a new price reported by avia_confirm_issue (status=PRICE_CHANGED) to prepare forced reprice ticketing (force=1).

Technical descriptions are shown as the model sees them.

  • In your app: via tool_prepare
  • Read-only
  • Safe to repeat
  • Reaches airlines and suppliers
  • mcp:prepare
Call examples 2

Check ticketing readiness and prepare buyout quote

{
  "order_id": 26695,
  "service_id": 8550866
}

Prepare re-quoted issuance after user accepted PRICE_CHANGED

{
  "order_id": 26695,
  "service_id": 8550866,
  "accept_reprice": true
}

Tool arguments. With the compact list the assistant passes them through tool_prepare.

Description for the model

Strictly read-only pre-check before irreversible flight ticket issuance. Verifies ticketing rights, order and service status, service_actions ISSUE permission, buyout time limit (>= 180s remaining), browser 3DS payment requirements, card validity, company debt/balance, linked add-ons, and reprice acceptance, then returns the exact final charge and a one-time quote_token without charging or issuing tickets. CALL WHEN: the user wants to check whether an already reserved flight can be issued (and why it is blocked), prepare ticket buyout, or accept a reprice after PRICE_CHANGED. DO NOT CALL: to issue tickets immediately (use avia_confirm_issue after explicit user confirmation), to book an unreserved flight (use avia_prepare_booking), or to inspect general trip details (use trip_get).

JSON Schema
{
  "additionalProperties": false,
  "properties": {
    "accept_reprice": {
      "default": false,
      "description": "Set `true` only after the user explicitly accepted a new price reported by `avia_confirm_issue` (`status=PRICE_CHANGED`) to prepare forced reprice ticketing (`force=1`).",
      "type": "boolean"
    },
    "order_id": {
      "description": "Existing trip order identifier (`>= 1`) containing the reserved flight service. Pass only an `order_id` explicitly provided by the user or returned by `trip_list`, `trip_get`, or `avia_confirm_booking` in this conversation; never guess or reuse IDs across conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": "integer"
    },
    "service_id": {
      "description": "Reserved flight service identifier (`>= 1`) within the order to issue tickets for. Pass only an exact `service_id` returned by `trip_get` or `avia_confirm_booking` for this `order_id` in this conversation; never guess or reuse IDs across conversations.",
      "format": "uint64",
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "order_id",
    "service_id"
  ],
  "type": "object"
}
The assistant shows the summary and waits for your yes
Step 2 · actionTicket issuingavia_confirm_issueIssues the ticket and charges the money after you say yes.Irreversible
Ask in the chat
Yes, issue it.

Cannot be undone. If the price has changed, the assistant stops and asks again.

Parameters
confirmed_currencystring · required
Exact 3-letter ISO currency code quoted by avia_prepare_issue (for example RUB, AED, USD).
confirmed_total_amountnumber · required
Exact total ticket issuance amount quoted by avia_prepare_issue (total_amount), echoed for explicit financial confirmation.
quote_tokenstring · required
One-time confirmation token returned by avia_prepare_issue in this conversation. Pass only the exact quote_token returned after the user explicitly confirmed the final ticket issuance amount; never guess or reuse tokens across conversations.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_confirm
  • Changes data
  • Safe to repeat
  • Reaches airlines and suppliers
  • Cannot be undone
  • mcp:confirm
Call examples 1

Irreversibly issue tickets echoing exact quoted amount and currency

{
  "quote_token": "QT_ISSUE_01",
  "confirmed_total_amount": 16338,
  "confirmed_currency": "RUB"
}

Tool arguments. With the compact list the assistant passes them through tool_confirm.

Description for the model

Redeems a one-time quote_token from avia_prepare_issue to irreversibly issue flight tickets and charge funds via GDS (returns ISSUED, WAITING for async airline ticket numbers, or PRICE_CHANGED when supplier reprice requires re-confirmation). Requires echoing confirmed_total_amount and confirmed_currency from avia_prepare_issue. CALL WHEN: the user explicitly confirmed the final avia_prepare_issue summary and understands this action irreversibly charges funds and issues tickets. DO NOT CALL: in the same turn as avia_prepare_issue without explicit user confirmation, without a valid quote_token from this conversation, or before avia_prepare_issue succeeds.

JSON Schema
{
  "additionalProperties": false,
  "properties": {
    "confirmed_currency": {
      "description": "Exact 3-letter ISO currency code quoted by `avia_prepare_issue` (for example `RUB`, `AED`, `USD`).",
      "maxLength": 8,
      "minLength": 3,
      "type": "string"
    },
    "confirmed_total_amount": {
      "description": "Exact total ticket issuance amount quoted by `avia_prepare_issue` (`total_amount`), echoed for explicit financial confirmation.",
      "format": "double",
      "type": "number"
    },
    "quote_token": {
      "description": "One-time confirmation token returned by `avia_prepare_issue` in this conversation. Pass only the exact `quote_token` returned after the user explicitly confirmed the final ticket issuance amount; never guess or reuse tokens across conversations.",
      "maxLength": 64,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "quote_token",
    "confirmed_total_amount",
    "confirmed_currency"
  ],
  "type": "object"
}

Until you confirm step 2, nothing is saved, booked, or charged.

Service

1Available at any access level

Connection diagnostics.

Connection checkserver_pingChecks that the server responds.Read
Ask in the chat
Check whether Tumodo is responding.
Parameters
echostring
Optional connectivity echo tag.

Technical descriptions are shown as the model sees them.

  • In your app: via tool_read
  • Read-only
  • Safe to repeat
  • mcp:read
Call examples 1

Verify MCP server transport connectivity

{
  "echo": "health"
}

Tool arguments. With the compact list the assistant passes them through tool_read.

Description for the model

Diagnostic connectivity check for the MCP server. CALL WHEN: the user explicitly asks to check or ping MCP server connectivity. DO NOT CALL: during regular business tasks or after another tool returns POLICY_DENIED, NOT_FOUND, or any business error (a tool response already proves transport is alive).

JSON Schema
{
  "additionalProperties": false,
  "properties": {
    "echo": {
      "default": null,
      "description": "Optional connectivity echo tag.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "type": "object"
}

What your app shows

Server mode: compact

Your app does not get all 35 tools at once: their descriptions would take up a noticeable share of the assistant's memory on every reply. Instead it gets a short list: 4 everyday tools called directly plus 5 gateway tools the assistant uses to find and call the rest. Capabilities and permissions stay the same; only the calling path changes.

Tool list in your app
called directlygateway

Numbers come from the server catalog and assume access to every section. If you switch a section off on the consent screen, its tools drop out of the list.

How to read an approval prompt

Before an action your app asks for permission and shows the gateway's name. What will actually happen is written inside the request.

  1. 1tool is the real tool. Here it is Ticket issuing avia_confirm_issue.
  2. 2arguments is what it is called with. Amount and currency must match what the assistant showed you in chat.
  3. !Do not turn on “Always allow” for tool_confirm: apps remember the permission by tool name, so yours would stop showing this prompt before every action, irreversible ones included.

Gateway tools

5
Tool indextools_catalogShows the assistant the list of tools available with your permissions.Read
When you will see it

At the start of a task, while the assistant looks for the right tool: for example, before the first flight search.

Parameters
domainenum
Optional domain filter (context, trips, avia, people, or service).
contexttripsaviapeopleservice
querystring
Optional case-insensitive English keyword filter (1..=80 chars; the catalog index is English-only — pass English words, filter by domain, or omit query to view all permitted tools in one call).
tierenum
Optional risk/execution tier filter (read, prepare, or confirm).
readprepareconfirm

Technical descriptions are shown as the model sees them.

  • Read-only
  • Shown at any access level
Description for the model

Returns a compact one-line index of all tools available to the current caller (filtered by permissions), optionally narrowed by domain, tier, or English keyword query. The catalog index is English-only: pass English keywords in `query`, filter by `domain` (`context`/`trips`/`avia`/`people`/`service`), or call with `{}` to view the entire index in one call. CALL WHEN: discovering deferred tools for flights, policies, colleagues, desktop queues, advance reports, service breakdowns, or trip creation, booking, and ticketing. DO NOT CALL: to invoke a tool directly (use primary tools or tool_read/tool_prepare/tool_confirm) or when you already know the exact tool name and schema.

JSON Schema
{
  "$defs": {
    "DispatchTierParam": {
      "description": "Execution risk tier filter supported by `tools_catalog`.",
      "oneOf": [
        {
          "const": "read",
          "description": "Read-only lookups and searches invoked directly or via `tool_read`.",
          "type": "string"
        },
        {
          "const": "prepare",
          "description": "Read-only pre-checks and quote issuance invoked via `tool_prepare`.",
          "type": "string"
        },
        {
          "const": "confirm",
          "description": "State-changing confirmations invoked via `tool_confirm` after explicit user approval.",
          "type": "string"
        }
      ]
    },
    "ToolDomainParam": {
      "description": "Domain filter supported by `tools_catalog`.",
      "oneOf": [
        {
          "const": "context",
          "description": "User profile, active company selection, and travel policies.",
          "type": "string"
        },
        {
          "const": "trips",
          "description": "Business trips, services, operational desktop queues, and advance reports.",
          "type": "string"
        },
        {
          "const": "avia",
          "description": "Flight search, filtering, fare brands, rules, seat maps, add-ons, booking, and ticketing.",
          "type": "string"
        },
        {
          "const": "people",
          "description": "Colleague search, employee profiles, masked documents, absences, and company departments.",
          "type": "string"
        },
        {
          "const": "service",
          "description": "Server transport diagnostics.",
          "type": "string"
        }
      ]
    }
  },
  "additionalProperties": false,
  "properties": {
    "domain": {
      "anyOf": [
        {
          "$ref": "#/$defs/ToolDomainParam"
        },
        {
          "type": "null"
        }
      ],
      "description": "Optional domain filter (`context`, `trips`, `avia`, `people`, or `service`)."
    },
    "query": {
      "default": null,
      "description": "Optional case-insensitive English keyword filter (`1..=80` chars; the catalog index is English-only — pass English words, filter by `domain`, or omit `query` to view all permitted tools in one call).",
      "maxLength": 80,
      "minLength": 1,
      "type": [
        "string",
        "null"
      ]
    },
    "tier": {
      "anyOf": [
        {
          "$ref": "#/$defs/DispatchTierParam"
        },
        {
          "type": "null"
        }
      ],
      "description": "Optional risk/execution tier filter (`read`, `prepare`, or `confirm`)."
    }
  },
  "type": "object"
}
Tool detailstool_describeGives the assistant exact parameters and examples for the chosen tools.Read
When you will see it

Before the first call of an unfamiliar tool and after a parameter error.

Parameters
toolsstring[] · required
Exact tool names (1..=5 items) from tools_catalog or the primary catalog to inspect.

Technical descriptions are shown as the model sees them.

  • Read-only
  • Shown at any access level
Description for the model

Returns full documentation for 1 to 5 tools passed in `tools` (plural array of exact tool names, e.g. `{"tools": ["trip_prepare"]}`): exact JSON input_schema, required parameters, detailed workflow guide, validated JSON examples, and which executor to use (direct, tool_read, tool_prepare, or tool_confirm). CALL WHEN: before calling an unfamiliar deferred tool or after a parameter validation error to inspect exact field names, enums, and examples. DO NOT CALL: to browse all available tools without knowing names (use tools_catalog) or to execute a tool.

JSON Schema
{
  "additionalProperties": false,
  "properties": {
    "tools": {
      "description": "Exact tool names (`1..=5` items) from `tools_catalog` or the primary catalog to inspect.",
      "items": {
        "type": "string"
      },
      "maxItems": 5,
      "minItems": 1,
      "type": "array"
    }
  },
  "required": [
    "tools"
  ],
  "type": "object"
}
Read calltool_readCalls a tool that only reads data: flight search, policies, reports.Read
When you will see it

In almost every task. It changes nothing and charges nothing.

Parameters
toolstring · required
Exact target tool name from tools_catalog matching this executor tier.
argumentsobject
JSON object of target tool arguments matching input_schema from tool_describe (defaults to {}).

Technical descriptions are shown as the model sees them.

  • Read-only
  • Shown at any access level
Description for the model

Executes a read-only tool by name (`tier=read`, including deferred lookups, flight searches/filters/options, policies, colleagues, desktop queues, advance reports, or primary read tools) with JSON `arguments` matching its `input_schema` from `tool_describe`. Never modifies persisted data or charges funds. CALL WHEN: invoking any read-only tool listed under `tool_read` in `tools_catalog`. DO NOT CALL: for prepare pre-checks (use tool_prepare), state-changing confirmations (use tool_confirm), or meta-tools (call tools_catalog or tool_describe directly).

JSON Schema
{
  "additionalProperties": false,
  "properties": {
    "arguments": {
      "additionalProperties": true,
      "default": {},
      "description": "JSON object of target tool arguments matching `input_schema` from `tool_describe` (defaults to `{}`).",
      "type": "object"
    },
    "tool": {
      "description": "Exact target tool name from `tools_catalog` matching this executor tier.",
      "maxLength": 64,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "tool"
  ],
  "type": "object"
}
Check calltool_prepareRuns step 1 of an action: the check before creating a trip, booking a flight, or issuing a ticket.Actions · step 1
When you will see it

When you ask to arrange something. The assistant checks the rules and shows the result. Nothing is saved at this step.

Parameters
toolstring · required
Exact target tool name from tools_catalog matching this executor tier.
argumentsobject
JSON object of target tool arguments matching input_schema from tool_describe (defaults to {}).

Technical descriptions are shown as the model sees them.

  • Read-only
  • Shown with “Read & actions” access
Description for the model

Executes a read-only two-phase preparation tool (`tier=prepare`: `trip_prepare`, `avia_prepare_booking`, `avia_prepare_issue`, `employee_profile_prepare`, `employee_document_prepare`, `employee_card_prepare`, `employee_absence_prepare`) with JSON `arguments` from `tool_describe`. Evaluates company rules, documents, policies, and budgets without writing to the portal or GDS, returning missing fields or a one-time `quote_token` for user review. CALL WHEN: preparing a trip draft, flight booking, ticket issuance pre-check, or employee profile/document/card/absence update. DO NOT CALL: for flight searches or read-only lookups including picking flights for an existing order_id (use tool_read with avia_search instead), to confirm or save changes (use tool_confirm in a separate turn after explicit user approval), or for meta-tools.

JSON Schema
{
  "additionalProperties": false,
  "properties": {
    "arguments": {
      "additionalProperties": true,
      "default": {},
      "description": "JSON object of target tool arguments matching `input_schema` from `tool_describe` (defaults to `{}`).",
      "type": "object"
    },
    "tool": {
      "description": "Exact target tool name from `tools_catalog` matching this executor tier.",
      "maxLength": 64,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "tool"
  ],
  "type": "object"
}
Confirmation calltool_confirmRuns step 2 after your “yes”: creates the trip, books the flight, or issues the ticket.Actions · step 2
When you will see it

Only after you confirmed the summary in chat.

Check the tool field in the prompt and do not turn on “Always allow”: your app would stop asking before all of these actions, irreversible ones included. The server still runs only what passed the check step.

Parameters
toolstring · required
Exact target tool name from tools_catalog matching this executor tier.
argumentsobject
JSON object of target tool arguments matching input_schema from tool_describe (defaults to {}).

Technical descriptions are shown as the model sees them.

  • Changes data
  • Shown with “Read & actions” access
Description for the model

Executes a state-changing confirmation tool (`tier=confirm`: `trip_confirm`, `avia_confirm_booking`, `avia_confirm_issue`, `employee_profile_confirm`, `employee_document_confirm`, `employee_card_confirm`, `employee_absence_confirm`) redeeming a one-time `quote_token` from `tool_prepare` after explicit user confirmation in a prior turn. May create reservations, modify employee records, or irreversibly issue tickets and charge funds. CALL WHEN: the user explicitly confirmed the prepared summary and wants to finalize the action. DO NOT CALL: in the same turn as tool_prepare without explicit user approval, for read-only lookups (use tool_read), for prepare pre-checks (use tool_prepare), or without a valid quote_token from this conversation.

JSON Schema
{
  "additionalProperties": false,
  "properties": {
    "arguments": {
      "additionalProperties": true,
      "default": {},
      "description": "JSON object of target tool arguments matching `input_schema` from `tool_describe` (defaults to `{}`).",
      "type": "object"
    },
    "tool": {
      "description": "Exact target tool name from `tools_catalog` matching this executor tier.",
      "maxLength": 64,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "tool"
  ],
  "type": "object"
}

The whole catalog at once

Developers and apps with their own tool search may prefer the flat list: all 35 tools are visible directly, with no gateways. Add ?tools=all to the server URL. Sign-in, permissions, and confirmations work the same.

https://mcp.tumodo.io/mcp?tools=all

The X-Mcp-Tools-Mode: all header does the same.