yandex_metrica_evaluate_logs_request
Check if a Yandex Metrica Logs API export is possible for chosen dates, source, and fields, and see how many days fit the quota, without creating the request.
Instructions
Check whether a Yandex Metrica Logs API export can be created for the given dates, source, and fields, without creating a request. Use when the user wants to know if a raw export is possible and how many days fit the quota. Do not use this to start the export; call yandex_metrica_create_logs_request after the check succeeds.
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": {
"counter_id": "<counter_id>",
"date1": "<date1>",
"date2": "<date2>",
"source": "<source>",
"fields": "<fields>"
},
"name": "yandex_metrica_evaluate_logs_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date1 | Yes | Start date YYYY-MM-DD | |
| date2 | Yes | End date YYYY-MM-DD (cannot be current day) | |
| fields | Yes | Fields to export. For visits: ['ym:s:visitID','ym:s:date','ym:s:clientID',...]. For hits: ['ym:pv:watchID','ym:pv:date','ym:pv:URL',...] | |
| source | Yes | 'hits' for pageview-level data, 'visits' for session-level data | |
| counter_id | Yes | Yandex Metrica counter (tag) ID |