mgmt_label_update
Update an existing label in Yandex Metrika by sending its ID and a JSON body containing the new label name.
Instructions
https://yandex.ru/dev/metrika/ru/management/ Update label. Body: {"label": {"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": {
"labelId": "<labelId>",
"body": "<body>"
},
"name": "mgmt_label_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | JSON request body. For POST/PUT use the structure from API docs (e.g. {"counter": {...}}). | |
| pretty | No | Pretty-print response (1) | |
| labelId | Yes | Label ID |