Read WC3 map script
wc3_read_scriptRead the JASS or Lua script from a Warcraft III .w3x or .w3m map file to inspect or modify game logic.
Instructions
Read the map script (war3map.j JASS or war3map.lua).
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>"
},
"name": "wc3_read_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapPath | Yes | Absolute path to the .w3x/.w3m map file |