mgmt_counter_update
Update a Yandex Metrika counter's settings by sending a JSON body with the desired fields to the Management API.
Instructions
https://yandex.ru/dev/metrika/ru/management/ Update counter. Body: {"counter": {...}}
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": {
"counterId": "<counterId>",
"body": "<body>"
},
"name": "mgmt_counter_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | JSON request body. For POST/PUT use the structure from API docs (e.g. {"counter": {...}}). | |
| field | No | Extra fields comma-separated: goals,mirrors,grants,filters,operations,counter_flags,measurement_tokens | |
| pretty | No | Pretty-print response (1) | |
| counterId | Yes | Counter ID |