delete_goal
Remove a conversion goal from a Yandex Metrika counter while keeping historical data intact.
Instructions
Delete a conversion goal from a counter. Historical goal data in reports is preserved.
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": {
"counter_id": "<counter_id>",
"goal_id": "<goal_id>"
},
"name": "delete_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal_id | Yes | Goal ID to delete | |
| counter_id | Yes | Counter ID the goal belongs to |