Read Blizzard UI source file
get_source_fileRead files or list directories from Blizzard's UI source code for World of Warcraft addon development. Supports game flavors and line numbers.
Instructions
Read a file (or list a directory) from Blizzard's UI source for a flavor, with line numbers. Paths are repo-relative, e.g. "Interface/AddOns/Blizzard_UIParent/Blizzard_UIParent.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": {
"path": "<path>"
},
"name": "get_source_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Repo-relative file or directory path | |
| flavor | No | Game flavor: live (retail), classic, classic_era (vanilla), classic_anniversary | live |
| endLine | No | ||
| startLine | No |