mgmt_counter_create
Create a new Yandex Metrika counter by providing the website URL and counter name in the request body.
Instructions
https://yandex.ru/dev/metrika/ru/management/ Create counter. Body: {"counter": {"site": "example.com", "name": "..."}}
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": {
"body": "<body>"
},
"name": "mgmt_counter_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ytm | No | YTM flag | |
| body | Yes | JSON request body. For POST/PUT use the structure from API docs (e.g. {"counter": {...}}). | |
| field | No | Extra fields in response | |
| pretty | No | Pretty-print response (1) |