Delete region(s)
wc3_delete_regionDelete specified regions from a Warcraft III map using their id, name, or index, and save the map automatically.
Instructions
Remove the region(s) matched by id, name, or index. Saves the map.
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": {
"mapPath": "<mapPath>",
"select": "<select>"
},
"name": "wc3_delete_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapPath | Yes | Absolute path to the .w3x/.w3m map file | |
| select | Yes | Which region(s) to delete — provide one of id/name/index | |
| outPath | No | Output map path. Defaults to "<map>.edited.<ext>" beside the source; pass the source path to overwrite in place. |