Delete camera(s)
wc3_delete_cameraRemove cameras from a Warcraft III map by specifying the camera name or index. Saves the map after deletion.
Instructions
Remove the camera(s) matched by 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_camera"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapPath | Yes | Absolute path to the .w3x/.w3m map file | |
| select | Yes | Which camera(s) to delete — provide name or index | |
| outPath | No | Output map path. Defaults to "<map>.edited.<ext>" beside the source; pass the source path to overwrite in place. |