Build a map link
build_map_linkUse to end an answer with a link the user can open — after any ranking, comparison or district lookup, and whenever they ask to see, map or visualise something. Returns a spatialindia.com/app URL showing exactly those indicators. One indicator draws a choropleth, two draw a bivariate map; a third cannot be expressed in a link and is reported back as dropped.
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": {
"indicators": "<indicators>"
},
"name": "build_map_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | Open the scatter plot or the ranking panel alongside the map. | |
| state | No | A state name to zoom the map to. | |
| districts | No | District names or objectids to pin. One district also opens its profile. | |
| indicators | Yes | One or two indicator ids. A third is dropped. |