MCP Control
Сотрудники · Изменение

Сотрудник · Задачи · Создание

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

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

Подготовить
  1. Вы указываетеДокумент
  2. ПомощникПодготовка
  3. Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Сотрудник / Задачи / Создание». Для изменения нужны title, notes. Покажи объект и ожидаемый эффект до выполнения.
Что входит в подготовку
title
Параметр
notes
Параметр
type
Тип
Применить
  1. Вы указываетеСогласованные значения
  2. ПомощникОдин вызов
  3. Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Сотрудник / Задачи / Создание» с параметром type = task. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
Фрагмент учебных параметров
type
task
status
new
priority
low
Проверить итог
  1. Вы указываетеИсходный ответ
  2. ПомощникСверка результата
  3. Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Сотрудник / Задачи / Создание» по исходному ответу. Покажи результат. Объясни, чем подтвердить эффект для выбранного объекта.
Как проследить одну попытку
  1. ЗапросСохранить исходный ключ
  2. ОтветПроверить статус
  3. ПроверкаСверить эффект операции
Как работает действие

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

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

Create a personal Worker task through the native task editor. Provide every editor field, including empty arrays. Due and finish are local YYYY-MM-DDTHH:mm in timezone. users contains native employee IDs. The server creates a stable task ID; no manager impersonation or automatic approval.

Параметры запроса
title
Native title value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 300
notes
Native notes value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 12000
type
Native type value; use the value and type returned by the corresponding service. обязательно по схеме · string · варианты task, to-do, goal, meeting, video, call, sms, email, delivery, pickup, lunch, sign
users
Native users value; use the value and type returned by the corresponding service. обязательно по схеме · array · до элементов 100
status
Native status value; use the value and type returned by the corresponding service. обязательно по схеме · string · варианты new, pending, in_progress, paused, postponed, done, cancel
priority
Native priority value; use the value and type returned by the corresponding service. обязательно по схеме · string · варианты low, normal, high, urgent
due
Native due value; use the value and type returned by the corresponding service. обязательно по схеме · string / null
finish
Native finish value; use the value and type returned by the corresponding service. обязательно по схеме · string / null
timezone
Native timezone value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 100
department
Native department value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 300
contact
Native contact value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 2000
address
Native address value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 2000
color
Native color value; use the value and type returned by the corresponding service. обязательно по схеме · string
notification
Native notification value; use the value and type returned by the corresponding service. обязательно по схеме · boolean
emails
Native emails value; use the value and type returned by the corresponding service. обязательно по схеме · array · до элементов 100
reminders
Native reminders value; use the value and type returned by the corresponding service. обязательно по схеме · array · до элементов 30
files
Native files value; use the value and type returned by the corresponding service. обязательно по схеме · array · до элементов 50
steps
Native steps value; use the value and type returned by the corresponding service. обязательно по схеме · array · до элементов 100
documentId
Native documentId value; use the value and type returned by the corresponding service. необязательно · string / null
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
result
Native Worker outcome for the authenticated employee only. A request is pending until its manager processes it. обязательно по схеме · object
Поля и технические схемы
Входные поля и поля ответа worker_task_create
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 300,
      "description": "Native title value; use the value and type returned by the corresponding service."
    },
    "notes": {
      "type": "string",
      "maxLength": 12000,
      "description": "Native notes value; use the value and type returned by the corresponding service."
    },
    "type": {
      "type": "string",
      "enum": [
        "task",
        "to-do",
        "goal",
        "meeting",
        "video",
        "call",
        "sms",
        "email",
        "delivery",
        "pickup",
        "lunch",
        "sign"
      ],
      "description": "Native type value; use the value and type returned by the corresponding service."
    },
    "users": {
      "minItems": 1,
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
      },
      "description": "Native users value; use the value and type returned by the corresponding service."
    },
    "status": {
      "type": "string",
      "enum": [
        "new",
        "pending",
        "in_progress",
        "paused",
        "postponed",
        "done",
        "cancel"
      ],
      "description": "Native status value; use the value and type returned by the corresponding service."
    },
    "priority": {
      "type": "string",
      "enum": [
        "low",
        "normal",
        "high",
        "urgent"
      ],
      "description": "Native priority value; use the value and type returned by the corresponding service."
    },
    "due": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$"
        },
        {
          "type": "null"
        }
      ],
      "description": "Native due value; use the value and type returned by the corresponding service."
    },
    "finish": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$"
        },
        {
          "type": "null"
        }
      ],
      "description": "Native finish value; use the value and type returned by the corresponding service."
    },
    "timezone": {
      "type": "string",
      "maxLength": 100,
      "description": "Native timezone value; use the value and type returned by the corresponding service."
    },
    "department": {
      "type": "string",
      "maxLength": 300,
      "description": "Native department value; use the value and type returned by the corresponding service."
    },
    "contact": {
      "type": "string",
      "maxLength": 2000,
      "description": "Native contact value; use the value and type returned by the corresponding service."
    },
    "address": {
      "type": "string",
      "maxLength": 2000,
      "description": "Native address value; use the value and type returned by the corresponding service."
    },
    "color": {
      "type": "string",
      "pattern": "^#[a-fA-F0-9]{6}$",
      "description": "Native color value; use the value and type returned by the corresponding service."
    },
    "notification": {
      "type": "boolean",
      "description": "Native notification value; use the value and type returned by the corresponding service."
    },
    "emails": {
      "maxItems": 100,
      "type": "array",
      "items": {
        "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 emails value; use the value and type returned by the corresponding service."
    },
    "reminders": {
      "maxItems": 30,
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 525600
      },
      "description": "Native reminders value; use the value and type returned by the corresponding service."
    },
    "files": {
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      },
      "description": "Native files value; use the value and type returned by the corresponding service."
    },
    "steps": {
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
            "description": "Native id value; use the value and type returned by the corresponding service."
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 500,
            "description": "Native title value; use the value and type returned by the corresponding service."
          },
          "done": {
            "type": "boolean",
            "description": "Native done value; use the value and type returned by the corresponding service."
          }
        },
        "required": [
          "id",
          "title",
          "done"
        ],
        "additionalProperties": false
      },
      "description": "Native steps value; use the value and type returned by the corresponding service."
    },
    "documentId": {
      "description": "Native documentId value; use the value and type returned by the corresponding service.",
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
        },
        {
          "type": "null"
        }
      ]
    },
    "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."
    }
  },
  "required": [
    "title",
    "notes",
    "type",
    "users",
    "status",
    "priority",
    "due",
    "finish",
    "timezone",
    "department",
    "contact",
    "address",
    "color",
    "notification",
    "emails",
    "reminders",
    "files",
    "steps",
    "requestId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "result": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "$ref": "#/$defs/__schema0"
      },
      "description": "Native Worker outcome for the authenticated employee only. A request is pending until its manager processes it."
    }
  },
  "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"
          }
        }
      ]
    }
  }
}