delete_map
Remove a map from an RPG Maker MZ project: deletes its data file, removes its map tree entry, and reparents any child maps to the parent. Preview changes with dryRun.
Instructions
Delete a map: remove its entry from the map tree (MapInfos.json) and delete its data/MapNNN.json file. The deleted map's direct children are reparented onto its parent (not deleted), so removing one node doesn't wipe a whole sub-tree. Does not touch System.json.
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>"
},
"name": "delete_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapId | Yes | The ID of the map to delete | |
| dryRun | No | Preview only: return a diff of what would change without writing to disk. |