World map
generate_world_mapDraw a world map colouring countries by a number (sales, population, users, visitors by country). Use country names in any common language or ISO 3166 codes (e.g. 'Japan', 'JP', 'JPN'). Unmatched names are listed in the result.
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": {
"data": "<data>"
},
"name": "generate_world_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | One row per country. | |
| unit | No | Unit for the legend, e.g. 'EUR', 'users', '%'. | |
| title | No | Title shown above the map. | |
| width | No | Image width in pixels (default 960). | |
| format | No | png (default) or svg. SVG returns a link to a vector version of the map. | |
| height | No | Image height in pixels (default 540). | |
| labels | No | Write each area's name, value or both on the map (default none). Labels that don't fit are left out. | |
| 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). |