Команда
Инструменты раздела «Команда»: 6
Подключение: https://mcp.legalstack.ru/mcp/team или в составе общего подключения https://mcp.legalstack.ru/mcp.
Добавить организацию команды
create_organization · изменяет данные
Описание для модели: Add a legal entity of the team by INN. Requisites are loaded from the state register by INN. Fields in variables override the register data. Requires an admin or owner.
Параметры
| Параметр | Тип | Обязательный | Описание |
|---|---|---|---|
inn | string | да | INN of the entity. Длина: 10–12. |
kpp | string | нет | KPP, to pick one of several branches. Длина: до 9. |
variables | объект | нет | Requisites to set on top of the register data. |
variables.party_name | string | нет | Short name without the legal form. Длина: до 500. |
variables.party_inn | string | нет | INN. Длина: до 500. |
variables.party_kpp | string | нет | KPP. Длина: до 500. |
variables.party_reg_number | string | нет | OGRN or OGRNIP. Длина: до 500. |
variables.party_address | string | нет | Registered address. Длина: до 500. |
variables.party_signatory | string | нет | Full name of the signatory. Длина: до 500. |
variables.party_bank_name | string | нет | Bank name. Длина: до 500. |
variables.party_bik | string | нет | Bank BIK. Длина: до 500. |
variables.party_account | string | нет | Settlement account. Длина: до 500. |
variables.party_corr_account | string | нет | Correspondent account. Длина: до 500. |
variables.party_phone | string | нет | Phone. Длина: до 500. |
variables.party_email | string | нет | Email. Длина: до 500. |
JSON Schema параметров
{
"type": "object",
"properties": {
"inn": {
"type": "string",
"minLength": 10,
"maxLength": 12,
"description": "INN of the entity"
},
"kpp": {
"description": "KPP, to pick one of several branches",
"type": "string",
"maxLength": 9
},
"variables": {
"description": "Requisites to set on top of the register data",
"type": "object",
"properties": {
"party_name": {
"description": "Short name without the legal form",
"type": "string",
"maxLength": 500
},
"party_inn": {
"description": "INN",
"type": "string",
"maxLength": 500
},
"party_kpp": {
"description": "KPP",
"type": "string",
"maxLength": 500
},
"party_reg_number": {
"description": "OGRN or OGRNIP",
"type": "string",
"maxLength": 500
},
"party_address": {
"description": "Registered address",
"type": "string",
"maxLength": 500
},
"party_signatory": {
"description": "Full name of the signatory",
"type": "string",
"maxLength": 500
},
"party_bank_name": {
"description": "Bank name",
"type": "string",
"maxLength": 500
},
"party_bik": {
"description": "Bank BIK",
"type": "string",
"maxLength": 500
},
"party_account": {
"description": "Settlement account",
"type": "string",
"maxLength": 500
},
"party_corr_account": {
"description": "Correspondent account",
"type": "string",
"maxLength": 500
},
"party_phone": {
"description": "Phone",
"type": "string",
"maxLength": 500
},
"party_email": {
"description": "Email",
"type": "string",
"maxLength": 500
}
},
"additionalProperties": false
}
},
"required": [
"inn"
],
"additionalProperties": false
}Удалить организацию команды
delete_organization · необратимое действие
Описание для модели: Delete a legal entity of the team. Requires an admin or owner. The entity cannot be restored.
Параметры
| Параметр | Тип | Обязательный | Описание |
|---|---|---|---|
organization_id | string | да | Organization id. Длина: 1–64. |
JSON Schema параметров
{
"type": "object",
"properties": {
"organization_id": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "Organization id"
}
},
"required": [
"organization_id"
],
"additionalProperties": false
}Поиск компании в ЕГРЮЛ
find_company · только чтение
Описание для модели: Find company requisites in the state register by INN or name. Returns candidates with party_ variables ready for a counterparty party block, a registry record or create_organization.
Параметры
| Параметр | Тип | Обязательный | Описание |
|---|---|---|---|
query | string | да | INN, OGRN or company name. Длина: 2–300. |
limit | integer | нет | Maximum number of items to return, 5 by default. По умолчанию: 5. Диапазон: 1–10. |
JSON Schema параметров
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 2,
"maxLength": 300,
"description": "INN, OGRN or company name"
},
"limit": {
"default": 5,
"description": "Maximum number of items to return, 5 by default",
"type": "integer",
"minimum": 1,
"maximum": 10
}
},
"required": [
"query"
],
"additionalProperties": false
}Участники команды
list_members · только чтение
Описание для модели: List team members, optionally filtered by name or email. Member ids are used as assignees, participants and signers in other tools.
Параметры
| Параметр | Тип | Обязательный | Описание |
|---|---|---|---|
query | string | нет | Part of a name or email. Длина: 1–100. |
JSON Schema параметров
{
"type": "object",
"properties": {
"query": {
"description": "Part of a name or email",
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"additionalProperties": false
}Организации команды
list_organizations · только чтение
Описание для модели: List legal entities of the team with their requisites. Each entry carries variables with party_ keys. Put them unchanged into a party block of a document, a registry record or a form. With several entities ask the user which one acts.
Параметры
Параметров нет.
JSON Schema параметров
{
"type": "object",
"properties": {},
"additionalProperties": false
}Изменить реквизиты организации
update_organization · изменяет данные
Описание для модели: Update requisites of a legal entity of the team. Pass only the fields to change. Requires an admin or owner.
Параметры
| Параметр | Тип | Обязательный | Описание |
|---|---|---|---|
organization_id | string | да | Organization id. Длина: 1–64. |
variables | объект | да | Requisites to change. |
variables.party_name | string | нет | Short name without the legal form. Длина: до 500. |
variables.party_inn | string | нет | INN. Длина: до 500. |
variables.party_kpp | string | нет | KPP. Длина: до 500. |
variables.party_reg_number | string | нет | OGRN or OGRNIP. Длина: до 500. |
variables.party_address | string | нет | Registered address. Длина: до 500. |
variables.party_signatory | string | нет | Full name of the signatory. Длина: до 500. |
variables.party_bank_name | string | нет | Bank name. Длина: до 500. |
variables.party_bik | string | нет | Bank BIK. Длина: до 500. |
variables.party_account | string | нет | Settlement account. Длина: до 500. |
variables.party_corr_account | string | нет | Correspondent account. Длина: до 500. |
variables.party_phone | string | нет | Phone. Длина: до 500. |
variables.party_email | string | нет | Email. Длина: до 500. |
JSON Schema параметров
{
"type": "object",
"properties": {
"organization_id": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "Organization id"
},
"variables": {
"type": "object",
"properties": {
"party_name": {
"description": "Short name without the legal form",
"type": "string",
"maxLength": 500
},
"party_inn": {
"description": "INN",
"type": "string",
"maxLength": 500
},
"party_kpp": {
"description": "KPP",
"type": "string",
"maxLength": 500
},
"party_reg_number": {
"description": "OGRN or OGRNIP",
"type": "string",
"maxLength": 500
},
"party_address": {
"description": "Registered address",
"type": "string",
"maxLength": 500
},
"party_signatory": {
"description": "Full name of the signatory",
"type": "string",
"maxLength": 500
},
"party_bank_name": {
"description": "Bank name",
"type": "string",
"maxLength": 500
},
"party_bik": {
"description": "Bank BIK",
"type": "string",
"maxLength": 500
},
"party_account": {
"description": "Settlement account",
"type": "string",
"maxLength": 500
},
"party_corr_account": {
"description": "Correspondent account",
"type": "string",
"maxLength": 500
},
"party_phone": {
"description": "Phone",
"type": "string",
"maxLength": 500
},
"party_email": {
"description": "Email",
"type": "string",
"maxLength": 500
}
},
"additionalProperties": false,
"description": "Requisites to change"
}
},
"required": [
"organization_id",
"variables"
],
"additionalProperties": false
}