topvisor_add_region
Add a region to a searcher in a Topvisor project. After adding, retrieve the region_index via topvisor_list_regions for subsequent queries.
Instructions
Add a region to a searcher for a project. After adding, call topvisor_list_regions to get the assigned region_index — region_key (add-time catalog key) is NOT the same as region_index (query-time index used in history/checker calls).
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": {
"project_id": "<project_id>",
"searcher_key": "<searcher_key>",
"region_key": "<region_key>"
},
"name": "topvisor_add_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| searcher_key | Yes | Search engine key (0=Yandex, 1=Google, etc.) | |
| region_key | Yes | Region key from Topvisor catalog. IMPORTANT: region_key is NOT the same as region_index. After adding a region, read region_index back via topvisor_list_regions. | |
| region_lang | No | Language code, e.g. 'ru' | |
| region_device | No | 0=desktop, 1=tablet, 2=phone | |
| region_depth | No | Search depth pages (1–5) |