Read WC3 object data
wc3_read_objectsRead object-data tables from a Warcraft III map file as JSON, returning original and custom modifications for specified kind: units, items, abilities, and more.
Instructions
Read an object-data table as JSON. "kind" is one of units/items/abilities/buffs/destructables/doodads/upgrades. Returns a { original, custom } modification table.
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>",
"kind": "<kind>"
},
"name": "wc3_read_objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapPath | Yes | Absolute path to the .w3x/.w3m map file | |
| kind | Yes | Which object-data table to read |