Перейти к содержимому
LegalStack

Задачи

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

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

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

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

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

Параметры

ПараметрТипОбязательныйОписание
task_idstringдаTask id. Длина: 1–64.
textstringдаChecklist item text. Длина: 1–500.
JSON Schema параметров
{
  "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
}

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

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

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

Параметры

ПараметрТипОбязательныйОписание
task_idstringдаTask id. Длина: 1–64.
textstringдаComment text. Длина: 1–10000.
JSON Schema параметров
{
  "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
}

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

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_idstringдаTask you are working on id. Длина: 1–64.
questionstringдаThe question with the context needed. Длина: 1–4000.
member_idstringнетA person, a member id from list_members. Длина: 1–64.
agent_idstringнетAn agent, an id from list_colleague_agents. Длина: 1–64.
JSON Schema параметров
{
  "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
}

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

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.

Параметры

ПараметрТипОбязательныйОписание
titlestringдаTask title. Длина: 1–500.
descriptionstringнетTask description, plain text. Длина: до 20000.
goalstringнетGoal: what result counts as done. Длина: до 2000.
acceptancestringнетAcceptance criteria, one per line; people and agents reviewing the result check it against them. Длина: до 4000.
statusstringнетTask status. Значения: Запрос, В очереди, В работе, Согласование, Завершено.
prioritystringнетTask priority. Значения: Низкий, Средний, Высокий, Срочный.
typestringнетTask category. Значения: Договоры, Литигация, Консультация, Корпоративные вопросы, Сбор информации, Комплаенс, Интеллектуальная собственность, Запросы и проверки, Другое.
due_datestringнетDue date, a calendar date YYYY-MM-DD.
assignee_idsмассив stringнетAssignees, member ids from list_members. Элементов: до 20.
tagsмассив stringнетTags. Элементов: до 20.
JSON Schema параметров
{
  "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
}

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

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_idstringдаTask you are reviewing id. Длина: 1–64.
decisionstringдаapproved or changes_requested. Значения: approved, changes_requested.
commentstringнетRemarks for the executor, required for changes_requested. Длина: до 10000.
JSON Schema параметров
{
  "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
}

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

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_idstringдаTask you are working on id. Длина: 1–64.
titlestringдаSubtask title. Длина: 1–500.
briefstringдаWhat to do and the context needed for it. Длина: 1–20000.
acceptancestringнетHow the result will be checked. Длина: до 4000.
due_datestringнетDue date of the subtask, a calendar date YYYY-MM-DD.
member_idstringнетA person, a member id from list_members. Длина: 1–64.
agent_idstringнетAn agent, an id from list_colleague_agents. Длина: 1–64.
JSON Schema параметров
{
  "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
}

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

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

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

Параметры

ПараметрТипОбязательныйОписание
subtask_idstringдаChecklist item id. Длина: 1–64.
JSON Schema параметров
{
  "type": "object",
  "properties": {
    "subtask_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "Checklist item id"
    }
  },
  "required": [
    "subtask_id"
  ],
  "additionalProperties": false
}

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

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

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

Параметры

ПараметрТипОбязательныйОписание
task_idstringдаTask id. Длина: 1–64.
JSON Schema параметров
{
  "type": "object",
  "properties": {
    "task_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "Task id"
    }
  },
  "required": [
    "task_id"
  ],
  "additionalProperties": false
}

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

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

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

Параметры

ПараметрТипОбязательныйОписание
task_idstringдаTask id. Длина: 1–64.
commentsbooleanнетInclude comments, off by default.
JSON Schema параметров
{
  "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
}

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

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.

Параметры

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

JSON Schema параметров
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

Список задач

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.

Параметры

ПараметрТипОбязательныйОписание
querystringнетWords from the task title. Длина: 1–200.
statusesмассив stringнетStatuses to include. Элементов: 1–5.
prioritiesмассив stringнетPriorities to include. Элементов: 1–4.
assignee_idstringнетAssignee, a member id from list_members. Длина: 1–64.
minebooleanнетOnly tasks assigned to the current user.
due_fromstringнетDue on this day or later, a calendar date YYYY-MM-DD.
due_tostringнетDue on this day or earlier, a calendar date YYYY-MM-DD.
tagstringнетTag the task carries. Длина: 1–60.
limitintegerнетMaximum number of items to return, 20 by default. По умолчанию: 20. Диапазон: 1–100.
offsetintegerнетNumber of items to skip, for paging. По умолчанию: 0. Диапазон: 0–9007199254740991.
JSON Schema параметров
{
  "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
}

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

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_idstringдаTask you are working on id. Длина: 1–64.
questionstringдаWhat to decide and the context needed. Длина: 1–4000.
optionsмассив объектовдаOptions to choose from, in the order to show them. Элементов: 2–8.
options[].labelstringдаShort name of the option. Длина: 1–200.
options[].detailsstringнетWhat follows from the option: consequences, risks, costs. Длина: до 1000.
multiplebooleanнетThe person may pick several options.
member_idstringнетWho decides, a member id from list_members. Длина: 1–64.
JSON Schema параметров
{
  "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
}

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

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_idstringдаTask id. Длина: 1–64.
outcomestringдаdone, question, blocked or delegated. Значения: done, question, blocked, delegated.
blocked_by_member_idstringнет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_idstringнетFor blocked: a task of the team that has to be completed first. Длина: 1–64.
summarystringдаOutcome for the people in the task, in their language. Длина: 1–4000.
JSON Schema параметров
{
  "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
}

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

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_idstringдаTask you are working on id. Длина: 1–64.
reasonstringдаWhy the task is passed on. Длина: 1–4000.
contextstringнетWhat is done and what is left. Длина: до 4000.
member_idstringнетA person, a member id from list_members. Длина: 1–64.
agent_idstringнетAn agent, an id from list_colleague_agents. Длина: 1–64.
JSON Schema параметров
{
  "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
}

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

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

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

Параметры

ПараметрТипОбязательныйОписание
subtask_idstringдаChecklist item id. Длина: 1–64.
donebooleanнетTrue marks the item done, false returns it to work.
textstringнетNew text. Длина: 1–500.
JSON Schema параметров
{
  "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
}

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

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_idstringдаTask id. Длина: 1–64.
titlestringнетNew title. Длина: 1–500.
descriptionstringнетTask description, plain text. Длина: до 20000.
goalstringнетGoal: what result counts as done. Длина: до 2000.
acceptancestringнетAcceptance criteria, one per line; people and agents reviewing the result check it against them. Длина: до 4000.
statusstringнетTask status. Значения: Запрос, В очереди, В работе, Согласование, Завершено.
prioritystringнетTask priority. Значения: Низкий, Средний, Высокий, Срочный.
typestringнетTask category. Значения: Договоры, Литигация, Консультация, Корпоративные вопросы, Сбор информации, Комплаенс, Интеллектуальная собственность, Запросы и проверки, Другое.
due_datestringнет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_responsebooleanнетThe task waits for an outside reply.
clearмассив stringнетFields to empty. Элементов: от 1.
JSON Schema параметров
{
  "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
}

На этой странице