Map with a top-10 ranking
generate_map_rankingDraw a map (regions of one country, or countries of the world) next to a bar chart of the top places, in matching colours, as one image. Easier to read than a map alone: the bars give the exact numbers. Use region names or ISO codes as 'name'.
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_map_ranking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | How many places the bar chart ranks (default 10). | |
| data | Yes | One row per region or country. | |
| unit | No | Unit for the legend, e.g. 'EUR', 'users', '%'. | |
| title | No | Title shown above the map. | |
| country | No | For regions of one country, e.g. 'DE'. Leave out for a world map of countries. | |
| 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). |