Список договоров
list_contractsRetrieve paginated contracts from your Avito Ads account, filterable by IDs, numbers, clients, or contractors. Includes legal details and weekly API balance.
Instructions
Возвращает одну страницу договоров, зарегистрированных под аккаунтом: {total, items, page, limit, hasNextPage} плюс apiPointBalance (остаток недельных баллов API). В каждом элементе id, type, number, date, subject, object (действие по договору), cid, description (тип контрагента), parentId (заполнен у дополнительных соглашений) и юридические реквизиты клиента и исполнителя. Сузить выдачу можно через filter.ids / filter.numbers / filter.clients (id рекламодателей) / filter.contractors. limit — 1..100 (по умолчанию 20); нумерация page с 1.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_contracts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Номер страницы, нумерация с 1. По умолчанию 1. | |
| limit | No | Размер страницы, 1..100. По умолчанию 20. | |
| filter | No | Фильтр страницы. Без него возвращаются все договоры. |