US county map
generate_county_mapDraw a map of US counties coloured by a number: all of the US, or the counties of one state. Name counties with their state ("Cook, IL", "Los Angeles County, California") or use 5-digit FIPS codes ("17031"). With 'state' set, bare county names are looked up in that state. For states, use generate_country_map with country 'US'.
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_county_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | One row per county. | |
| unit | No | Unit for the legend, e.g. 'EUR', 'users', '%'. | |
| state | No | Only this state, e.g. 'TX' or 'Texas'. Leave out for the whole US. | |
| 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 600). | |
| 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). |