zig_document_symbols
Retrieve the document symbol outline—functions, structs, and variables—from a Zig file to navigate code structure.
Instructions
Get the document symbol outline (functions, structs, variables) of a Zig file via ZLS
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": {
"file_path": "<file_path>"
},
"name": "zig_document_symbols"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the .zig file to get symbols for |