Replace a map's content
replace_map_contentOverwrite an existing map's layers, markers, name, description and casualty bar (and style, if given) with an import JSON of up to about 1 MB. The link and publish state stay; the old content is backed up.
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": {
"mapId": "<mapId>",
"map": "<map>"
},
"name": "replace_map_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map | Yes | The map in the Moving Polygons import format, as a JSON object or a JSON string | |
| mapId | Yes |