Read a raw file from a WC3 map
wc3_read_fileExtract internal files from Warcraft III map archives as UTF-8 text or base64. Specify map path and internal archive path to retrieve file contents.
Instructions
Extract one internal file as text (utf8) or base64.
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>",
"internalName": "<internalName>"
},
"name": "wc3_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapPath | Yes | Absolute path to the .w3x/.w3m map file | |
| internalName | Yes | Internal archive path, e.g. "war3map.w3i" | |
| encoding | No | How to return the bytes | base64 |