Read a file from Blizzard's UI source
wow_ui_read_fileRead a Lua or XML file from Blizzard's UI source to view the full implementation in context, instead of a single matching line.
Instructions
Read a Lua or XML file from Blizzard's shipped interface source, by the path that wow_ui_grep or wow_ui_template_search reported. Use this to see a full implementation in context rather than a single matching line.
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": "wow_ui_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path relative to the UI source root, e.g. Interface/AddOns/Blizzard_UIParent/UIParent.lua. | |
| flavor | No | Game client. Defaults to retail. | |
| endLine | No | ||
| startLine | No |