Map information
map_infoReads a Warcraft III map's war3map.w3i summary with resolved strings—name, author, players, dimensions, script language, versions, forces, and file count—to identify what the map is.
Instructions
Read a map's summary from its war3map.w3i, with the map's strings resolved: name, author, description, suggested players, width and height, script language (JASS or Lua), the game and editor versions it was saved with, players with their race and type, forces, and the number of files in the map. Use it to answer what a map is; use read_member on war3map.w3i only for every raw field. Fails on a protected map and on a map without war3map.w3i. Only reads: it changes no file, and the same call on the same file gives the same result.
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": {
"path": "<path>"
},
"name": "map_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The .w3x or .w3m map. A path under the folders the server was started with (--root). A relative path is taken from the first of them; list_files gives full paths that can be passed as they are. |