MCP Control
Подбор персонала · Чувствительное действие

Подбор персонала · Приём на работу

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

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

Подготовить
  1. Вы указываетеId записи
  2. ПомощникПодготовка
  3. Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Подбор персонала / Приём на работу». Для изменения нужны ID записи, stage. Покажи объект и ожидаемый эффект до выполнения.
Что входит в подготовку
id
Id записи
stage
Параметр
employee
Параметр
Применить
  1. Вы указываетеСогласованные значения
  2. ПомощникОдин вызов
  3. Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Подбор персонала / Приём на работу» с параметром createOnboarding = true. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
Фрагмент учебных параметров
createOnboarding
true
expectedRevision
4
Проверить итог
  1. Вы указываетеИсходный ответ
  2. ПомощникСверка результата
  3. Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Подбор персонала / Приём на работу» по исходному ответу. Покажи ID записи, версия записи. Объясни, чем подтвердить эффект для выбранного объекта.
Как сверить изменение
  1. До измененияПрочитать версию
  2. При записиПередать выбранную версию
  3. После ответаПеречитать объект
Как работает действие

Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения. Прочитайте актуальную версию записи перед подготовкой запроса.

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

Hire the selected application through the existing native hiring workflow, bind its person to an employee role and optionally create the canonical onboarding tasks. This can provision the matching employee login. Not equivalent to merely changing application stage. Read current application and employee state after uncertainty.

Параметры запроса
id
Идентификатор выбранной записи. обязательно по схеме · string
expectedRevision
Версия, прочитанная перед изменением. обязательно по схеме · integer · максимум 9007199254740991
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
stage
Native stage value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 100
employee
Native employee value; use the value and type returned by the corresponding service. обязательно по схеме · object
createOnboarding
Native createOnboarding value; use the value and type returned by the corresponding service. обязательно по схеме · boolean
Что вернёт команда
id
Native id value; use the value and type returned by the corresponding service. необязательно · string · до символов 160
revision
Native revision value; use the value and type returned by the corresponding service. необязательно · string / integer / null
result
Bounded verified native outcome. Read full records separately after a write; no provider delivery is implied. обязательно по схеме · object
Поля и технические схемы
Входные поля и поля ответа recruiting_hire
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "description": "Native id value; use the value and type returned by the corresponding service."
    },
    "expectedRevision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Native expectedRevision value; use the value and type returned by the corresponding service."
    },
    "requestId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Stable request ID for these exact arguments. Keep it if the response is uncertain."
    },
    "stage": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "description": "Native stage value; use the value and type returned by the corresponding service."
    },
    "employee": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "description": "Native name value; use the value and type returned by the corresponding service."
        },
        "email": {
          "type": "string",
          "format": "email",
          "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
          "description": "Native email value; use the value and type returned by the corresponding service."
        },
        "phone": {
          "type": "string",
          "maxLength": 50,
          "description": "Native phone value; use the value and type returned by the corresponding service."
        },
        "position": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
          "description": "Native position value; use the value and type returned by the corresponding service."
        },
        "branch": {
          "type": "string",
          "maxLength": 128,
          "description": "Native branch value; use the value and type returned by the corresponding service."
        },
        "startDate": {
          "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": "Native startDate value; use the value and type returned by the corresponding service."
        },
        "type": {
          "type": "string",
          "maxLength": 60,
          "description": "Native type value; use the value and type returned by the corresponding service."
        },
        "status": {
          "type": "string",
          "enum": [
            "Адаптация",
            "Работает",
            "Испытательный срок",
            "Отпуск",
            "Архив"
          ],
          "description": "Native status value; use the value and type returned by the corresponding service."
        },
        "manager": {
          "type": "string",
          "maxLength": 128,
          "description": "Native manager value; use the value and type returned by the corresponding service."
        },
        "probation": {
          "anyOf": [
            {
              "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])))$"
            },
            {
              "type": "string",
              "const": ""
            }
          ],
          "description": "Native probation value; use the value and type returned by the corresponding service."
        }
      },
      "required": [
        "name",
        "email",
        "phone",
        "position",
        "branch",
        "startDate",
        "type",
        "status",
        "manager",
        "probation"
      ],
      "additionalProperties": false,
      "description": "Native employee value; use the value and type returned by the corresponding service."
    },
    "createOnboarding": {
      "type": "boolean",
      "description": "Native createOnboarding value; use the value and type returned by the corresponding service."
    }
  },
  "required": [
    "id",
    "expectedRevision",
    "requestId",
    "stage",
    "employee",
    "createOnboarding"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "id": {
      "description": "Native id value; use the value and type returned by the corresponding service.",
      "type": "string",
      "maxLength": 160
    },
    "revision": {
      "description": "Native revision value; use the value and type returned by the corresponding service.",
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ]
    },
    "result": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "$ref": "#/$defs/__schema0"
      },
      "description": "Bounded verified native outcome. Read full records separately after a write; no provider delivery is implied."
    }
  },
  "required": [
    "result"
  ],
  "additionalProperties": false,
  "$defs": {
    "__schema0": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        }
      ]
    }
  }
}