mgmt_segment_delete
Delete a segment from a Yandex Metrika counter by specifying its counter ID and segment ID to remove unused or incorrect segments.
Instructions
https://yandex.ru/dev/metrika/ru/management/ Delete segment
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>",
"segmentId": "<segmentId>"
},
"name": "mgmt_segment_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pretty | No | Pretty-print response (1) | |
| counterId | Yes | Counter ID | |
| segmentId | Yes | Segment ID |