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

Проверка документов

Инструменты раздела «Проверка документов»: 3

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

Результат проверки документа

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

Описание для модели: Get the result of a document compliance check.

Параметры

ПараметрТипОбязательныйОписание
check_idstringдаCheck id. Длина: 1–64.
wait_secondsintegerнетSeconds to wait for the check to finish, 60 by default. По умолчанию: 60. Диапазон: 0–240.
JSON Schema параметров
{
  "type": "object",
  "properties": {
    "check_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "Check id"
    },
    "wait_seconds": {
      "default": 60,
      "description": "Seconds to wait for the check to finish, 60 by default",
      "type": "integer",
      "minimum": 0,
      "maximum": 240
    }
  },
  "required": [
    "check_id"
  ],
  "additionalProperties": false
}

Чек-листы проверки

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

Описание для модели: List compliance checklists for checking documents.

Параметры

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

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

Проверить документ по чек-листам

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

Описание для модели: Check a document against compliance checklists. The check is performed by the agent itself: it reads the document and the checklist points and returns the remarks. Waits for the result. When finished is false the check still runs, read it later with get_document_check.

Параметры

ПараметрТипОбязательныйОписание
document_idstringдаDocument id. Длина: 1–64.
playbook_idsмассив stringдаChecklists to apply in this order. Элементов: 1–20.
wait_secondsintegerнетSeconds to wait for the check to finish, 60 by default. По умолчанию: 60. Диапазон: 0–240.
JSON Schema параметров
{
  "type": "object",
  "properties": {
    "document_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "Document id"
    },
    "playbook_ids": {
      "minItems": 1,
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 64,
        "description": "Checklist id"
      },
      "description": "Checklists to apply in this order"
    },
    "wait_seconds": {
      "default": 60,
      "description": "Seconds to wait for the check to finish, 60 by default",
      "type": "integer",
      "minimum": 0,
      "maximum": 240
    }
  },
  "required": [
    "document_id",
    "playbook_ids"
  ],
  "additionalProperties": false
}

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