mgmt_goal_create
Set up conversion tracking by creating a goal in Yandex Metrika. Provide the counter ID and goal data in JSON to add a new goal.
Instructions
https://yandex.ru/dev/metrika/ru/management/ Create goal. Body: {"goal": {...}}
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_goal_create"
}
}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) | |
| counterId | Yes | Counter ID |