Modify region(s)
wc3_modify_regionModify region properties (bounds, name, weather, sound, color) in a Warcraft III map by specifying region by ID, name, or index.
Instructions
Change bounds/name/weather/sound/color on 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>",
"set": "<set>"
},
"name": "wc3_modify_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapPath | Yes | Absolute path to the .w3x/.w3m map file | |
| select | Yes | Which region(s) to change — provide one of id/name/index | |
| set | Yes | Fields to change | |
| outPath | No | Output map path. Defaults to "<map>.edited.<ext>" beside the source; pass the source path to overwrite in place. |