metrica.raw_call
Send raw Yandex Metrica API requests for stats, management, or logs, specifying method, path, and parameters when standard operations lack an endpoint.
Instructions
Raw Metrica API call (escape hatch).
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": "metrica.raw_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api | No | Metrica API: stats, management, logs. | |
| data | No | Request body for management API (create/update). | |
| method | No | HTTP method: get, post, put, delete. | |
| params | No | Query/body params for the request. | |
| resource | No | Management resource or logs action. | |
| path_args | No | Path args for resource (e.g., counterId). | |
| account_id | No | Project profile id (resolves to Direct Client-Login and optional Metrica counter defaults). |