yd_metrika_goal_create
Create a goal for a Yandex Metrica counter by specifying a name, type, and conditions to track specific user actions.
Instructions
Create a goal for a counter.
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>",
"name": "<name>",
"goal_type": "<goal_type>",
"conditions": "<conditions>"
},
"name": "yd_metrika_goal_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| counter_id | Yes | Counter ID | |
| name | Yes | Goal name | |
| goal_type | Yes | Goal type: url, number, step, action, phone, email, etc. | |
| conditions | Yes | Conditions array, e.g. [{"type": "contain", "url": "/thank-you"}] |