MCP Control
Сотрудники · Чтение

Сотрудники · Просмотр

employees_get
Контактные карточки и телефон

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

Получить данные
  1. Вы указываетеСотрудник
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Сотрудники / Просмотр» выполни чтение по выбранной записи (сотрудник). Выведи кратко: сотрудник, displayName.
Что искать в ответе
employeeId
Сотрудник
displayName
Поле ответа
firstName
Поле ответа
Задать параметры
  1. Вы указываетеСотрудник
  2. ПомощникСверка выбора
  3. Вы получаетеТочный объект
Запрос в чат
Покажи, как получить «Сотрудники / Просмотр» на учебном примере с employeeId = DEMO-101. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
Фрагмент учебных параметров
employeeId
DEMO-101
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Сотрудники / Просмотр» объясни сотрудник, displayName. Отметь отсутствующие значения.
Поля для проверки
employeeId
Сотрудник
displayName
Поле ответа
firstName
Поле ответа
Как работает действие

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

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

Read one native workforce profile using employeeId from employees_search. The identifier is the users document ID, not an assumed Auth UID. Rechecks company, staff classification and location. No contact details, payroll values, credentials or permission maps are returned.

Параметры запроса
employeeId
Canonical employee document ID returned by employees_search in this workspace. обязательно по схеме · string · до символов 128
Что вернёт команда
employeeId
Canonical root users document identifier. Use unchanged in workforce and employee availability actions; this is not a Firebase Auth UID. обязательно по схеме · string
displayName
Stored staff display name, with first/last-name fallback. обязательно по схеме · string
firstName
Stored employee first name. обязательно по схеме · string
lastName
Stored employee last name. обязательно по схеме · string
positionId
Stored Position identifier, or null when unassigned. This does not grant permissions. обязательно по схеме · string / null
locationId
Stored establishment identifier, or null for an unassigned profile visible only to all-location staff. обязательно по схеме · string / null
language
Stored interface language, or an empty string when unspecified. обязательно по схеме · string
blocked
Whether the native profile explicitly marks the employee blocked. обязательно по схеме · boolean
Поля и технические схемы
Входные поля и поля ответа employees_get
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "employeeId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
      "description": "Canonical employee document ID returned by employees_search in this workspace."
    }
  },
  "required": [
    "employeeId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "employeeId": {
      "type": "string",
      "description": "Canonical root users document identifier. Use unchanged in workforce and employee availability actions; this is not a Firebase Auth UID."
    },
    "displayName": {
      "type": "string",
      "description": "Stored staff display name, with first/last-name fallback."
    },
    "firstName": {
      "type": "string",
      "description": "Stored employee first name."
    },
    "lastName": {
      "type": "string",
      "description": "Stored employee last name."
    },
    "positionId": {
      "description": "Stored Position identifier, or null when unassigned. This does not grant permissions.",
      "type": [
        "string",
        "null"
      ]
    },
    "locationId": {
      "description": "Stored establishment identifier, or null for an unassigned profile visible only to all-location staff.",
      "type": [
        "string",
        "null"
      ]
    },
    "language": {
      "type": "string",
      "description": "Stored interface language, or an empty string when unspecified."
    },
    "blocked": {
      "type": "boolean",
      "description": "Whether the native profile explicitly marks the employee blocked."
    }
  },
  "required": [
    "employeeId",
    "displayName",
    "firstName",
    "lastName",
    "positionId",
    "locationId",
    "language",
    "blocked"
  ],
  "additionalProperties": false
}