Make a shareable map
create_mapMake a web map of places, routes or areas, and get a link anyone can open to see it, with no code and no account. Write it as the map document get_map_spec describes. The link works for an hour after the map last changed; opening it, the person can add the map to their squidmaps account to keep it, publish it and share it for good. Returns an id and editToken: keep them, to change this map with update_map rather than making another.
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": {
"map": "<map>"
},
"name": "create_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map | Yes | A squidmaps map document (see get_map_spec): "features" (GeoJSON features, styled with "@" properties), and optionally "name", "description", "basemap", "extent", "view" and "legend", and "customBasemap", for a basemap in its own colors that the person gets with the map. |