Get map regions
get_map_regionsLook up one map: title, regionType, regionCount, labels, layers, and its regions as {key, title}, 200 per page.
You rarely need this before rendering. render_map accepts region names, codes and common aliases and auto-corrects typos, reporting what it matched.
Use it to build a dataset covering every region of a map, to see how a map names its regions, or to resolve a key render_map could not match.
query searches keys, titles and aliases, so no hits means the map really has no such region. Use offset for further pages.
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": {
"mapId": "<mapId>"
},
"name": "get_map_regions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapId | Yes | Map id from list_maps, e.g. "united-states", "europe", "united-states-california". | |
| query | No | Search region keys, titles and aliases, e.g. "saint" or "US-TX". Omit to page through every region. | |
| offset | No | Skip this many regions. Pages hold 200 regions; use the offset the previous result names. |