direct_report
Generate and retrieve Yandex Direct advertising statistics reports. Submits a report definition, waits for report readiness, and returns results in TSV format.
Instructions
Статистика через сервис Reports API v5. Принимает ReportDefinition в params, сам дожидается готовности отчёта (коды 201/202 с повторами) и возвращает TSV.
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": {
"params": "<params>"
},
"name": "direct_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | ReportDefinition: SelectionCriteria, FieldNames, ReportName (уникальное), ReportType, DateRangeType, Format: TSV, IncludeVAT, IncludeDiscount. | |
| sandbox | No | Песочница вместо боевого API. | |
| client_login | No | Логин клиента для агентского аккаунта. | |
| wait_seconds | No | Сколько секунд ждать готовности отчёта, по умолчанию 180. | |
| processing_mode | No | Режим формирования отчёта, по умолчанию auto. |