list_counterparties
Retrieve an organization's counterparties by box ID, filter by name, INN, or status, and paginate results to manage Diadoc document workflows.
Instructions
Список контрагентов организации (myBoxId). / List counterparties for an organization.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"box_id": "<box_id>"
},
"name": "list_counterparties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Текстовый поиск по названию или ИНН (нельзя вместе с after_index_key) | |
| box_id | Yes | Мой идентификатор ящика (myBoxId) | |
| page_size | No | Размер страницы (1–100) | |
| after_index_key | No | Курсор пагинации (afterIndexKey) | |
| counteragent_status | No | Фильтр по статусу контрагента |