MCP Control
Расписание · Чтение

Расписание · Поиск

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

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

Получить данные
  1. Вы указываетеСотрудник
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Расписание / Поиск» выполни чтение по выбранной записи (сотрудник). Выведи кратко: список позиций, следующая страница.
Что искать в ответе
items
Список позиций
nextCursor
Следующая страница
Следующая страница
  1. Вы указываетеПредыдущий ответ
  2. ПомощникПродолжение
  3. Вы получаетеСледующая страница
Запрос в чат
Продолжи «Расписание / Поиск» с позиции прошлого ответа. Сохрани фильтры и размер страницы 3. Покажи новые строки отдельно.
Как листать выдачу
Страница 1До 3 строк
Страница 2Продолжение
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Расписание / Поиск» объясни список позиций, следующая страница. Отметь отсутствующие значения.
Поля для проверки
items
Список позиций
nextCursor
Следующая страница
Как работает действие

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

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

Inspect actual schedules by allowed location, optionally narrowed to one canonical employee ID. For smena, start/finish are the assigned date range and timeStart/timeFinish are daily local shift times; recorded clock-in/out is in workforce attendance. Use the dedicated availability engine before creating a booking.

Параметры запроса
query
Поисковое выражение для этой операции. необязательно · string · до символов 120
limit
Максимальное число элементов на этой странице. обязательно по схеме · integer · по умолчанию 20 · минимум 1 · максимум 50
cursor
Продолжение из предыдущего ответа при тех же фильтрах. необязательно · string · до символов 236
employeeId
Optional canonical employee ID from employee discovery; filters assigned Schedule records before pagination. необязательно · string · до символов 160
Что вернёт команда
items
Записи, которые вернул этот запрос. обязательно по схеме · array
nextCursor
Курсор для получения следующей страницы. обязательно по схеме · string / null
Поля и технические схемы
Входные поля и поля ответа schedules_search
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "query": {
      "description": "Case-insensitive name or text filter within the paginated result. Continue using nextCursor to search later records.",
      "type": "string",
      "maxLength": 120
    },
    "limit": {
      "default": 20,
      "description": "Maximum matching records returned, from 1 to 50. Large records may produce a shorter page; continue with nextCursor.",
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    },
    "cursor": {
      "description": "Opaque continuation cursor returned by this same action and workspace. Do not construct one.",
      "type": "string",
      "maxLength": 236
    },
    "employeeId": {
      "description": "Optional canonical employee ID from employee discovery; filters assigned Schedule records before pagination.",
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$"
    }
  },
  "required": [
    "limit"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "scheduleId": {
            "type": "string",
            "description": "Canonical company Schedule document identifier."
          },
          "type": {
            "type": "string",
            "description": "Existing schedule type."
          },
          "locationId": {
            "type": "string",
            "description": "Canonical schedule document.location."
          },
          "employeeId": {
            "description": "Employee assigned to this schedule when present.",
            "type": [
              "string",
              "null"
            ]
          },
          "startAt": {
            "anyOf": [
              {
                "$ref": "#/$defs/_mcp0"
              },
              {
                "type": "null"
              }
            ],
            "description": "Beginning of the schedule date range, not employee clock-in."
          },
          "finishAt": {
            "anyOf": [
              {
                "$ref": "#/$defs/_mcp0"
              },
              {
                "type": "null"
              }
            ],
            "description": "End of the schedule date range, not employee clock-out."
          },
          "timeStart": {
            "description": "Daily planned local start HH:mm for a smena, or null when absent.",
            "type": [
              "string",
              "null"
            ]
          },
          "timeFinish": {
            "description": "Daily planned local end HH:mm for a smena, or null when absent.",
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": "string",
            "description": "Stored schedule status; no availability is inferred from it."
          },
          "notes": {
            "type": "string",
            "description": "Stored schedule notes."
          }
        },
        "required": [
          "scheduleId",
          "type",
          "locationId",
          "employeeId",
          "startAt",
          "finishAt",
          "timeStart",
          "timeFinish",
          "status",
          "notes"
        ],
        "additionalProperties": false
      },
      "description": "Accessible matching records in this page; tenant and location restrictions have already been applied."
    },
    "nextCursor": {
      "description": "Continuation cursor, or null when no later records remain. An empty page can still have a cursor because inaccessible records are omitted.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "items",
    "nextCursor"
  ],
  "additionalProperties": false,
  "$defs": {
    "_mcp0": {
      "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))$"
    }
  }
}