Change a map
update_mapChange a map made with create_map when the person asks for changes, keeping its link: anyone who has the link sees the change, and it keeps working another hour. Send the whole changed map document, not just what changed: it replaces the map. Fails once someone has added the map to their account.
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": {
"id": "<id>",
"editToken": "<editToken>",
"map": "<map>"
},
"name": "update_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The map's id, from create_map | |
| 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. | |
| editToken | Yes | The editToken from create_map |