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

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

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

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

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

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

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

Save a task authored by or assigned to this employee through the native Worker editor. First read worker_tasks_read and preserve every editor field. Convert due/finish to local time in the specified timezone. Uses exact revision and a stable retry receipt; employee requests cannot be edited here.

Параметры запроса
id
Идентификатор выбранной записи. обязательно по схеме · string
revision
Текущая версия выбранной записи. обязательно по схеме · string
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_update
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "id": {
      "$ref": "#/$defs/_mcp0"
    },
    "revision": {
      "type": "string",
      "pattern": "^\\d+:\\d+$",
      "description": "Native revision value; use the value and type returned by the corresponding service."
    },
    "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": {
            "$ref": "#/$defs/_mcp0"
          },
          "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": [
    "id",
    "revision",
    "title",
    "notes",
    "type",
    "users",
    "status",
    "priority",
    "due",
    "finish",
    "timezone",
    "department",
    "contact",
    "address",
    "color",
    "notification",
    "emails",
    "reminders",
    "files",
    "steps",
    "requestId"
  ],
  "additionalProperties": false,
  "$defs": {
    "_mcp0": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native id value; use the value and type returned by the corresponding service."
    }
  }
}
Выход · 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"
          }
        }
      ]
    }
  }
}