create_counter
Create a new Yandex.Metrica counter by providing a display name and website domain. Get the counter ID and tracking code to install on your site.
Instructions
Create a new Yandex.Metrica counter for a website. Returns the new counter ID and tracking code. You need to install the tracking code on the site afterwards.
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": {
"name": "<name>",
"site": "<site>"
},
"name": "create_counter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Counter display name | |
| site | Yes | Website domain (e.g. 'example.com') | |
| mirrors | No | Mirror domains to track alongside the main site |