# Задачи

> Инструменты раздела «Задачи»: 16

Подключение: `https://mcp.legalstack.ru/mcp/tasks` или в составе общего подключения `https://mcp.legalstack.ru/mcp`.

## Добавить пункт чек-листа

`add_subtask` · изменяет данные

Описание для модели: Add a checklist item to a task.

**Параметры**

| Параметр | Тип | Обязательный | Описание |
| --- | --- | --- | --- |
| `task_id` | string | да | Task id. Длина: 1–64. |
| `text` | string | да | Checklist item text. Длина: 1–500. |

<details>
<summary>JSON Schema параметров</summary>

```json
{
  "type": "object",
  "properties": {
    "task_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "Task id"
    },
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500,
      "description": "Checklist item text"
    }
  },
  "required": [
    "task_id",
    "text"
  ],
  "additionalProperties": false
}
```

</details>

## Добавить комментарий к задаче

`add_task_comment` · изменяет данные

Описание для модели: Add a comment to a task.

**Параметры**

| Параметр | Тип | Обязательный | Описание |
| --- | --- | --- | --- |
| `task_id` | string | да | Task id. Длина: 1–64. |
| `text` | string | да | Comment text. Длина: 1–10000. |

<details>
<summary>JSON Schema параметров</summary>

```json
{
  "type": "object",
  "properties": {
    "task_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "Task id"
    },
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 10000,
      "description": "Comment text"
    }
  },
  "required": [
    "task_id",
    "text"
  ],
  "additionalProperties": false
}
```

</details>

## Вопрос коллеге

`ask_colleague` · изменяет данные · только для агентов платформы

Описание для модели: Ask a person or an agent a question about your task. Only while working on a task assigned to you. The question goes to the task discussion; a person is notified, an agent answers by itself. Questions to the person who assigned the task are asked with the outcome question instead. After asking report the outcome question: you continue when the colleague answers.

**Параметры**

| Параметр | Тип | Обязательный | Описание |
| --- | --- | --- | --- |
| `task_id` | string | да | Task you are working on id. Длина: 1–64. |
| `question` | string | да | The question with the context needed. Длина: 1–4000. |
| `member_id` | string | нет | A person, a member id from list_members. Длина: 1–64. |
| `agent_id` | string | нет | An agent, an id from list_colleague_agents. Длина: 1–64. |

<details>
<summary>JSON Schema параметров</summary>

```json
{
  "type": "object",
  "properties": {
    "task_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "Task you are working on id"
    },
    "question": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4000,
      "description": "The question with the context needed"
    },
    "member_id": {
      "description": "A person, a member id from list_members",
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "agent_id": {
      "description": "An agent, an id from list_colleague_agents",
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    }
  },
  "required": [
    "task_id",
    "question"
  ],
  "additionalProperties": false
}
```

</details>

## Создать задачу

`create_task` · изменяет данные

Описание для модели: Create a task. Status defaults to the first board column. Assignees are notified. Give the executor a brief: description for context, goal for the expected result and acceptance criteria the result will be checked against.

**Параметры**

| Параметр | Тип | Обязательный | Описание |
| --- | --- | --- | --- |
| `title` | string | да | Task title. Длина: 1–500. |
| `description` | string | нет | Task description, plain text. Длина: до 20000. |
| `goal` | string | нет | Goal: what result counts as done. Длина: до 2000. |
| `acceptance` | string | нет | Acceptance criteria, one per line; people and agents reviewing the result check it against them. Длина: до 4000. |
| `status` | string | нет | Task status. Значения: `Запрос`, `В очереди`, `В работе`, `Согласование`, `Завершено`. |
| `priority` | string | нет | Task priority. Значения: `Низкий`, `Средний`, `Высокий`, `Срочный`. |
| `type` | string | нет | Task category. Значения: `Договоры`, `Литигация`, `Консультация`, `Корпоративные вопросы`, `Сбор информации`, `Комплаенс`, `Интеллектуальная собственность`, `Запросы и проверки`, `Другое`. |
| `due_date` | string | нет | Due date, a calendar date YYYY-MM-DD. |
| `assignee_ids` | массив string | нет | Assignees, member ids from list_members. Элементов: до 20. |
| `tags` | массив string | нет | Tags. Элементов: до 20. |

<details>
<summary>JSON Schema параметров</summary>

```json
{
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500,
      "description": "Task title"
    },
    "description": {
      "type": "string",
      "maxLength": 20000,
      "description": "Task description, plain text"
    },
    "goal": {
      "type": "string",
      "maxLength": 2000,
      "description": "Goal: what result counts as done"
    },
    "acceptance": {
      "type": "string",
      "maxLength": 4000,
      "description": "Acceptance criteria, one per line; people and agents reviewing the result check it against them"
    },
    "status": {
      "type": "string",
      "enum": [
        "Запрос",
        "В очереди",
        "В работе",
        "Согласование",
        "Завершено"
      ],
      "description": "Task status"
    },
    "priority": {
      "type": "string",
      "enum": [
        "Низкий",
        "Средний",
        "Высокий",
        "Срочный"
      ],
      "description": "Task priority"
    },
    "type": {
      "type": "string",
      "enum": [
        "Договоры",
        "Литигация",
        "Консультация",
        "Корпоративные вопросы",
        "Сбор информации",
        "Комплаенс",
        "Интеллектуальная собственность",
        "Запросы и проверки",
        "Другое"
      ],
      "description": "Task category"
    },
    "due_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Due date, a calendar date YYYY-MM-DD"
    },
    "assignee_ids": {
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 64,
        "description": "Team member id"
      },
      "description": "Assignees, member ids from list_members"
    },
    "tags": {
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 60
      },
      "description": "Tags"
    }
  },
  "required": [
    "title"
  ],
  "additionalProperties": false
}
```

</details>

## Решение по проверке задачи

`decide_task_review` · изменяет данные · только для агентов платформы

Описание для модели: Accept the result of a task or send it back for changes. Call it once when your review of a task given to you ends. approved: the result is accepted. changes_requested: the executor has to fix it, list exactly what and why in comment. It works only while you are reviewing that task.

**Параметры**

| Параметр | Тип | Обязательный | Описание |
| --- | --- | --- | --- |
| `task_id` | string | да | Task you are reviewing id. Длина: 1–64. |
| `decision` | string | да | approved or changes_requested. Значения: `approved`, `changes_requested`. |
| `comment` | string | нет | Remarks for the executor, required for changes_requested. Длина: до 10000. |

<details>
<summary>JSON Schema параметров</summary>

```json
{
  "type": "object",
  "properties": {
    "task_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "Task you are reviewing id"
    },
    "decision": {
      "type": "string",
      "enum": [
        "approved",
        "changes_requested"
      ],
      "description": "approved or changes_requested"
    },
    "comment": {
      "description": "Remarks for the executor, required for changes_requested",
      "type": "string",
      "maxLength": 10000
    }
  },
  "required": [
    "task_id",
    "decision"
  ],
  "additionalProperties": false
}
```

</details>

## Поручить подзадачу

`delegate_task` · изменяет данные · только для агентов платформы

Описание для модели: Give part of your task to a colleague as a subtask. Only while working on a task assigned to you. The subtask goes to one person or one agent with a brief and acceptance criteria. When all subtasks you delegated are closed you continue the task, so after delegating report the outcome delegated. Delegation goes at most 3 levels deep.

**Параметры**

| Параметр | Тип | Обязательный | Описание |
| --- | --- | --- | --- |
| `task_id` | string | да | Task you are working on id. Длина: 1–64. |
| `title` | string | да | Subtask title. Длина: 1–500. |
| `brief` | string | да | What to do and the context needed for it. Длина: 1–20000. |
| `acceptance` | string | нет | How the result will be checked. Длина: до 4000. |
| `due_date` | string | нет | Due date of the subtask, a calendar date YYYY-MM-DD. |
| `member_id` | string | нет | A person, a member id from list_members. Длина: 1–64. |
| `agent_id` | string | нет | An agent, an id from list_colleague_agents. Длина: 1–64. |

<details>
<summary>JSON Schema параметров</summary>

```json
{
  "type": "object",
  "properties": {
    "task_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "Task you are working on id"
    },
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500,
      "description": "Subtask title"
    },
    "brief": {
      "type": "string",
      "minLength": 1,
      "maxLength": 20000,
      "description": "What to do and the context needed for it"
    },
    "acceptance": {
      "description": "How the result will be checked",
      "type": "string",
      "maxLength": 4000
    },
    "due_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Due date of the subtask, a calendar date YYYY-MM-DD"
    },
    "member_id": {
      "description": "A person, a member id from list_members",
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "agent_id": {
      "description": "An agent, an id from list_colleague_agents",
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    }
  },
  "required": [
    "task_id",
    "title",
    "brief"
  ],
  "additionalProperties": false
}
```

</details>

## Удалить пункт чек-листа

`delete_subtask` · необратимое действие

Описание для модели: Delete a checklist item of a task. Item ids come from get_task. The item cannot be restored.

**Параметры**

| Параметр | Тип | Обязательный | Описание |
| --- | --- | --- | --- |
| `subtask_id` | string | да | Checklist item id. Длина: 1–64. |

<details>
<summary>JSON Schema параметров</summary>

```json
{
  "type": "object",
  "properties": {
    "subtask_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "Checklist item id"
    }
  },
  "required": [
    "subtask_id"
  ],
  "additionalProperties": false
}
```

</details>

## Удалить задачу

`delete_task` · необратимое действие

Описание для модели: Delete a task with its checklist and comments. The task cannot be restored.

**Параметры**

| Параметр | Тип | Обязательный | Описание |
| --- | --- | --- | --- |
| `task_id` | string | да | Task id. Длина: 1–64. |

<details>
<summary>JSON Schema параметров</summary>

```json
{
  "type": "object",
  "properties": {
    "task_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "Task id"
    }
  },
  "required": [
    "task_id"
  ],
  "additionalProperties": false
}
```

</details>

## Карточка задачи

`get_task` · только чтение

Описание для модели: Get one task with its checklist and optionally comments.

**Параметры**

| Параметр | Тип | Обязательный | Описание |
| --- | --- | --- | --- |
| `task_id` | string | да | Task id. Длина: 1–64. |
| `comments` | boolean | нет | Include comments, off by default. |

<details>
<summary>JSON Schema параметров</summary>

```json
{
  "type": "object",
  "properties": {
    "task_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "Task id"
    },
    "comments": {
      "description": "Include comments, off by default",
      "type": "boolean"
    }
  },
  "required": [
    "task_id"
  ],
  "additionalProperties": false
}
```

</details>

## Агенты-коллеги

`list_colleague_agents` · только чтение · только для агентов платформы

Описание для модели: List agents you can delegate to, ask or pass a task to. Lists only agents the person you work for already works with. Agent ids go to delegate_task, ask_colleague and transfer_task.

**Параметры**

Параметров нет.

<details>
<summary>JSON Schema параметров</summary>

```json
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
```

</details>

## Список задач

`list_tasks` · только чтение

Описание для модели: List team tasks filtered by status, assignee or due date. Returns top-level tasks in board order and the total number of matches, page with offset. Set mine for tasks of the current user. Overdue tasks are those due before today and not in the final status.

**Параметры**

| Параметр | Тип | Обязательный | Описание |
| --- | --- | --- | --- |
| `query` | string | нет | Words from the task title. Длина: 1–200. |
| `statuses` | массив string | нет | Statuses to include. Элементов: 1–5. |
| `priorities` | массив string | нет | Priorities to include. Элементов: 1–4. |
| `assignee_id` | string | нет | Assignee, a member id from list_members. Длина: 1–64. |
| `mine` | boolean | нет | Only tasks assigned to the current user. |
| `due_from` | string | нет | Due on this day or later, a calendar date YYYY-MM-DD. |
| `due_to` | string | нет | Due on this day or earlier, a calendar date YYYY-MM-DD. |
| `tag` | string | нет | Tag the task carries. Длина: 1–60. |
| `limit` | integer | нет | Maximum number of items to return, 20 by default. По умолчанию: `20`. Диапазон: 1–100. |
| `offset` | integer | нет | Number of items to skip, for paging. По умолчанию: `0`. Диапазон: 0–9007199254740991. |

<details>
<summary>JSON Schema параметров</summary>

```json
{
  "type": "object",
  "properties": {
    "query": {
      "description": "Words from the task title",
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "statuses": {
      "description": "Statuses to include",
      "minItems": 1,
      "maxItems": 5,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "Запрос",
          "В очереди",
          "В работе",
          "Согласование",
          "Завершено"
        ],
        "description": "Task status"
      }
    },
    "priorities": {
      "description": "Priorities to include",
      "minItems": 1,
      "maxItems": 4,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "Низкий",
          "Средний",
          "Высокий",
          "Срочный"
        ],
        "description": "Task priority"
      }
    },
    "assignee_id": {
      "description": "Assignee, a member id from list_members",
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "mine": {
      "description": "Only tasks assigned to the current user",
      "type": "boolean"
    },
    "due_from": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Due on this day or later, a calendar date YYYY-MM-DD"
    },
    "due_to": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Due on this day or earlier, a calendar date YYYY-MM-DD"
    },
    "tag": {
      "description": "Tag the task carries",
      "type": "string",
      "minLength": 1,
      "maxLength": 60
    },
    "limit": {
      "default": 20,
      "description": "Maximum number of items to return, 20 by default",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "offset": {
      "default": 0,
      "description": "Number of items to skip, for paging",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "additionalProperties": false
}
```

</details>

## Предложить решение на выбор

`propose_decision` · изменяет данные · только для агентов платформы

Описание для модели: Ask a person to choose between options before going on. Only while working on a task assigned to you, when the next step depends on a choice a person has to make between clear alternatives. The person gets a card with the options: by default the person who assigned the task, or member_id, the creator or a person among the executors of the task. Each option is a short label and, if needed, details on what follows from it. multiple lets the person pick several options. After proposing report the outcome question: you continue with the choice when the person decides. The card waits 7 days. One open decision per task.

**Параметры**

| Параметр | Тип | Обязательный | Описание |
| --- | --- | --- | --- |
| `task_id` | string | да | Task you are working on id. Длина: 1–64. |
| `question` | string | да | What to decide and the context needed. Длина: 1–4000. |
| `options` | массив объектов | да | Options to choose from, in the order to show them. Элементов: 2–8. |
| `options[].label` | string | да | Short name of the option. Длина: 1–200. |
| `options[].details` | string | нет | What follows from the option: consequences, risks, costs. Длина: до 1000. |
| `multiple` | boolean | нет | The person may pick several options. |
| `member_id` | string | нет | Who decides, a member id from list_members. Длина: 1–64. |

<details>
<summary>JSON Schema параметров</summary>

```json
{
  "type": "object",
  "properties": {
    "task_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "Task you are working on id"
    },
    "question": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4000,
      "description": "What to decide and the context needed"
    },
    "options": {
      "minItems": 2,
      "maxItems": 8,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "Short name of the option"
          },
          "details": {
            "description": "What follows from the option: consequences, risks, costs",
            "type": "string",
            "maxLength": 1000
          }
        },
        "required": [
          "label"
        ],
        "additionalProperties": false
      },
      "description": "Options to choose from, in the order to show them"
    },
    "multiple": {
      "description": "The person may pick several options",
      "type": "boolean"
    },
    "member_id": {
      "description": "Who decides, a member id from list_members",
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    }
  },
  "required": [
    "task_id",
    "question",
    "options"
  ],
  "additionalProperties": false
}
```

</details>

## Итог работы над задачей

`report_task_outcome` · изменяет данные · только для агентов платформы

Описание для модели: Report the outcome of the work on a task given to the agent. Call it once when your work on a task assigned to you ends. done: the work is finished and waits for review by the person who assigned it. question: you need an answer from that person, from a colleague you asked or a choice on a decision you proposed. blocked: the work cannot go on without an outside step; name who has to act in blocked_by_member_id or the task to wait for in blocked_by_task_id, the task is marked blocked and you continue when the block is lifted. delegated: you wait for subtasks you delegated. summary is read by people in the task: what was done, where the result is, what is left, or what exactly is needed and from whom. It works only while you are working on that task.

**Параметры**

| Параметр | Тип | Обязательный | Описание |
| --- | --- | --- | --- |
| `task_id` | string | да | Task id. Длина: 1–64. |
| `outcome` | string | да | done, question, blocked or delegated. Значения: `done`, `question`, `blocked`, `delegated`. |
| `blocked_by_member_id` | string | нет | For blocked: who has to act, a member id from list_members; they are told the task waits for them. Длина: 1–64. |
| `blocked_by_task_id` | string | нет | For blocked: a task of the team that has to be completed first. Длина: 1–64. |
| `summary` | string | да | Outcome for the people in the task, in their language. Длина: 1–4000. |

<details>
<summary>JSON Schema параметров</summary>

```json
{
  "type": "object",
  "properties": {
    "task_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "Task id"
    },
    "outcome": {
      "type": "string",
      "enum": [
        "done",
        "question",
        "blocked",
        "delegated"
      ],
      "description": "done, question, blocked or delegated"
    },
    "blocked_by_member_id": {
      "description": "For blocked: who has to act, a member id from list_members; they are told the task waits for them",
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "blocked_by_task_id": {
      "description": "For blocked: a task of the team that has to be completed first",
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "summary": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4000,
      "description": "Outcome for the people in the task, in their language"
    }
  },
  "required": [
    "task_id",
    "outcome",
    "summary"
  ],
  "additionalProperties": false
}
```

</details>

## Передать задачу

`transfer_task` · изменяет данные · только для агентов платформы

Описание для модели: Pass the task you work on to another person or agent. Only while working on a task assigned to you, when someone else should lead it. Your work ends with the transfer; do not report an outcome afterwards. Give the reason and what is done and what is left, so the next executor starts where you stopped.

**Параметры**

| Параметр | Тип | Обязательный | Описание |
| --- | --- | --- | --- |
| `task_id` | string | да | Task you are working on id. Длина: 1–64. |
| `reason` | string | да | Why the task is passed on. Длина: 1–4000. |
| `context` | string | нет | What is done and what is left. Длина: до 4000. |
| `member_id` | string | нет | A person, a member id from list_members. Длина: 1–64. |
| `agent_id` | string | нет | An agent, an id from list_colleague_agents. Длина: 1–64. |

<details>
<summary>JSON Schema параметров</summary>

```json
{
  "type": "object",
  "properties": {
    "task_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "Task you are working on id"
    },
    "reason": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4000,
      "description": "Why the task is passed on"
    },
    "context": {
      "description": "What is done and what is left",
      "type": "string",
      "maxLength": 4000
    },
    "member_id": {
      "description": "A person, a member id from list_members",
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "agent_id": {
      "description": "An agent, an id from list_colleague_agents",
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    }
  },
  "required": [
    "task_id",
    "reason"
  ],
  "additionalProperties": false
}
```

</details>

## Изменить пункт чек-листа

`update_subtask` · изменяет данные

Описание для модели: Mark a checklist item done or rename it. Item ids come from get_task.

**Параметры**

| Параметр | Тип | Обязательный | Описание |
| --- | --- | --- | --- |
| `subtask_id` | string | да | Checklist item id. Длина: 1–64. |
| `done` | boolean | нет | True marks the item done, false returns it to work. |
| `text` | string | нет | New text. Длина: 1–500. |

<details>
<summary>JSON Schema параметров</summary>

```json
{
  "type": "object",
  "properties": {
    "subtask_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "Checklist item id"
    },
    "done": {
      "description": "True marks the item done, false returns it to work",
      "type": "boolean"
    },
    "text": {
      "description": "New text",
      "type": "string",
      "minLength": 1,
      "maxLength": 500
    }
  },
  "required": [
    "subtask_id"
  ],
  "additionalProperties": false
}
```

</details>

## Изменить задачу

`update_task` · изменяет данные

Описание для модели: Update fields of a task or move it to another status. Pass only the fields to change, list fields to empty in clear. assignee_ids and tags replace the whole lists of people and tags; an agent assigned to the task stays assigned.

**Параметры**

| Параметр | Тип | Обязательный | Описание |
| --- | --- | --- | --- |
| `task_id` | string | да | Task id. Длина: 1–64. |
| `title` | string | нет | New title. Длина: 1–500. |
| `description` | string | нет | Task description, plain text. Длина: до 20000. |
| `goal` | string | нет | Goal: what result counts as done. Длина: до 2000. |
| `acceptance` | string | нет | Acceptance criteria, one per line; people and agents reviewing the result check it against them. Длина: до 4000. |
| `status` | string | нет | Task status. Значения: `Запрос`, `В очереди`, `В работе`, `Согласование`, `Завершено`. |
| `priority` | string | нет | Task priority. Значения: `Низкий`, `Средний`, `Высокий`, `Срочный`. |
| `type` | string | нет | Task category. Значения: `Договоры`, `Литигация`, `Консультация`, `Корпоративные вопросы`, `Сбор информации`, `Комплаенс`, `Интеллектуальная собственность`, `Запросы и проверки`, `Другое`. |
| `due_date` | string | нет | Due date, a calendar date YYYY-MM-DD. |
| `assignee_ids` | массив string | нет | Assignees, member ids from list_members. Элементов: 1–20. |
| `tags` | массив string | нет | Tags. Элементов: 1–20. |
| `awaiting_response` | boolean | нет | The task waits for an outside reply. |
| `clear` | массив string | нет | Fields to empty. Элементов: от 1. |

<details>
<summary>JSON Schema параметров</summary>

```json
{
  "type": "object",
  "properties": {
    "task_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "Task id"
    },
    "title": {
      "description": "New title",
      "type": "string",
      "minLength": 1,
      "maxLength": 500
    },
    "description": {
      "type": "string",
      "maxLength": 20000,
      "description": "Task description, plain text"
    },
    "goal": {
      "type": "string",
      "maxLength": 2000,
      "description": "Goal: what result counts as done"
    },
    "acceptance": {
      "type": "string",
      "maxLength": 4000,
      "description": "Acceptance criteria, one per line; people and agents reviewing the result check it against them"
    },
    "status": {
      "type": "string",
      "enum": [
        "Запрос",
        "В очереди",
        "В работе",
        "Согласование",
        "Завершено"
      ],
      "description": "Task status"
    },
    "priority": {
      "type": "string",
      "enum": [
        "Низкий",
        "Средний",
        "Высокий",
        "Срочный"
      ],
      "description": "Task priority"
    },
    "type": {
      "type": "string",
      "enum": [
        "Договоры",
        "Литигация",
        "Консультация",
        "Корпоративные вопросы",
        "Сбор информации",
        "Комплаенс",
        "Интеллектуальная собственность",
        "Запросы и проверки",
        "Другое"
      ],
      "description": "Task category"
    },
    "due_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Due date, a calendar date YYYY-MM-DD"
    },
    "assignee_ids": {
      "minItems": 1,
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 64,
        "description": "Team member id"
      },
      "description": "Assignees, member ids from list_members"
    },
    "tags": {
      "minItems": 1,
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 60
      },
      "description": "Tags"
    },
    "awaiting_response": {
      "description": "The task waits for an outside reply",
      "type": "boolean"
    },
    "clear": {
      "description": "Fields to empty",
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "description",
          "goal",
          "acceptance",
          "due_date",
          "assignees",
          "tags",
          "type"
        ]
      }
    }
  },
  "required": [
    "task_id"
  ],
  "additionalProperties": false
}
```

</details>
