mgmt_counter_label_set
Assign a Yandex Metrika counter to a label by providing both IDs to organize and manage counters efficiently.
Instructions
https://yandex.ru/dev/metrika/ru/management/ Attach counter to label
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>",
"labelId": "<labelId>"
},
"name": "mgmt_counter_label_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pretty | No | Pretty-print response (1) | |
| labelId | Yes | Label ID | |
| counterId | Yes | Counter ID |