MCP Control
Бронирование · Чтение

Найти свободное время для записи

Проверяет свободные интервалы сотрудника или услуги в выбранном филиале.

bookings_find_slots
Часы и календарь у стойки записи

Попробуйте три запроса

Окна мастера
  1. Вы указываетеМастер и дата
  2. ПомощникПроверка расписания
  3. Вы получаетеСвободные интервалы
Запрос в чат
Найди до трёх свободных интервалов на 30 минут у выбранного мастера 1 декабря 2026 года. Укажи время филиала.
Учебный пример ответа
Утро
10:00–10:30
День
14:00–14:30
Учитывать услугу
  1. Вы указываетеМастер и услуга
  2. ПомощникПроверка сочетания
  3. Вы получаетеПодходящее время
Запрос в чат
Найди окна на час у выбранного мастера для выбранной услуги 2 декабря 2026 года. Учти расписание и доступность услуги.
Учебный пример ответа
Длительность
60 минут
Пример интервала
11:00–12:00
Другой день
  1. Вы указываетеТа же длительность
  2. ПомощникСледующая дата
  3. Вы получаетеНовая выдача
Запрос в чат
На выбранную дату свободных окон нет. Проверь тот же филиал, ресурс и длительность на следующий день.
Учебный пример ответа
Дата
3 декабря
Пример интервала
12:00–12:30
Как работает действие

Это чтение. Выберите запись или задайте фильтры в доступной компании.

Описание разработчика

Find employee or product slots using current native schedules and reserve=true Order.writeoff against warehouse stock. Product uses its first schedule and one-unit native recipe; rest blocks schedule time and between extends reservations. Optional productId on employee requests requires BOTH employee and product availability. Rental finish may extend beyond the product opening window. Duration is whole minutes. Tables and caller-supplied schedules/orders/stock/choose are unsupported. Advisory read only; no booking or hold.

Параметры запроса
locationId
Идентификатор точки из текущего подключения. обязательно по схеме · string · до символов 128
resourceType
Employee or product availability under the current native slots contract. Tables are not supported. обязательно по схеме · string · варианты product, employee
resourceId
Canonical resource ID returned by discovery. Do not substitute names or order IDs. обязательно по схеме · string · до символов 128
productId
Идентификатор найденного товара. необязательно · string · до символов 128
date
Requested calendar date YYYY-MM-DD in the establishment timezone. обязательно по схеме · string
durationMinutes
Booking duration in whole minutes, sent to native durationMinutes, not its legacy hours.minutes duration parameter. обязательно по схеме · integer · минимум 1 · максимум 1440
limit
Максимальное число элементов на этой странице. обязательно по схеме · integer · по умолчанию 20 · минимум 1 · максимум 50
Что вернёт команда
slots
Available intervals for the requested resource and optional product constraint. обязательно по схеме · array · до элементов 50
checkedAt
Time at which the availability response was returned. обязательно по схеме · string
truncated
Whether the native calculation contains more intervals than this response. обязательно по схеме · boolean
reserved
No reservation or hold was created. обязательно по схеме · boolean
Поля и технические схемы
Входные поля и поля ответа bookings_find_slots
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "locationId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
      "description": "Existing establishment ID from company location discovery."
    },
    "resourceType": {
      "type": "string",
      "enum": [
        "product",
        "employee"
      ],
      "description": "Employee or product availability under the current native slots contract. Tables are not supported."
    },
    "resourceId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
      "description": "Canonical resource ID returned by discovery. Do not substitute names or order IDs."
    },
    "productId": {
      "description": "For an employee request only: also require this product, its schedule and every reserved recipe component to be available. Resolve through catalog discovery.",
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$"
    },
    "date": {
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      "description": "Requested calendar date YYYY-MM-DD in the establishment timezone."
    },
    "durationMinutes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1440,
      "description": "Booking duration in whole minutes, sent to native durationMinutes, not its legacy hours.minutes duration parameter."
    },
    "limit": {
      "default": 20,
      "description": "Maximum intervals returned, from 1 to 50.",
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    }
  },
  "required": [
    "locationId",
    "resourceType",
    "resourceId",
    "date",
    "durationMinutes",
    "limit"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "slots": {
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "resourceId": {
            "type": "string",
            "description": "The requested canonical employee or product ID."
          },
          "scheduleId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9_~:@+.-]+$",
            "description": "Native Schedule identifier for this interval, distinct from the requested resource ID."
          },
          "startsAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "description": "Absolute interval start time."
          },
          "finishesAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "description": "Absolute interval end time."
          }
        },
        "required": [
          "resourceId",
          "scheduleId",
          "startsAt",
          "finishesAt"
        ],
        "additionalProperties": false
      },
      "description": "Available intervals for the requested resource and optional product constraint."
    },
    "checkedAt": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      "description": "Time at which the availability response was returned."
    },
    "truncated": {
      "type": "boolean",
      "description": "Whether the native calculation contains more intervals than this response."
    },
    "reserved": {
      "type": "boolean",
      "const": false,
      "description": "No reservation or hold was created."
    }
  },
  "required": [
    "slots",
    "checkedAt",
    "truncated",
    "reserved"
  ],
  "additionalProperties": false
}