topvisor_list_regions
Retrieve the mapping of region_key to region_index for configured searchers and regions in a Topvisor project, enabling correct usage of history and position check tools.
Instructions
List configured searchers and regions for a project. Returns region_key and region_index for each region.
CRITICAL: region_key (used when adding a region) is NOT the same as region_index (used in topvisor_get_history, topvisor_check_price, topvisor_check_positions). Always call this tool after adding regions to get the correct region_index values.
Example mapping for project 29248320 (green-line24.ru):
Samara: region_key=51 → region_index=83
Tolyatti: region_key=240 → region_index=112
Zhigulyovsk: region_key=11132 → region_index=829
NOTE: Uses get/projects_2/projects with show_searchers_and_regions=2 (NOT searchers_regions/export which returns CSV with no region_index).
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>"
},
"name": "topvisor_list_regions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID to list configured regions for |