Country map
generate_country_mapDraw a map of one country with its first-level regions (states, provinces, prefectures, counties, departments) coloured by a number. Works for every country. Use region names or ISO 3166-2 codes (e.g. country 'US', region 'California' or 'US-CA'; country 'India', region 'Maharashtra').
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": {
"country": "<country>",
"data": "<data>"
},
"name": "generate_country_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | One row per region. | |
| unit | No | Unit for the legend, e.g. 'EUR', 'users', '%'. | |
| title | No | Title shown above the map. | |
| width | No | Image width in pixels (default 800). | |
| format | No | png (default) or svg. SVG returns a link to a vector version of the map. | |
| height | No | Image height in pixels (default 600). | |
| labels | No | Write each area's name, value or both on the map (default none). Labels that don't fit are left out. | |
| country | Yes | Country name or ISO 3166 code, e.g. 'Germany' or 'DE'. | |
| brandTheme | No | Name of a brand theme saved on the user's account (their colours and footer), only when the user asks for their theme. Or "colorblind" for colours that people with colour-vision deficiency can tell apart (anyone can use it). |