lsp_document_symbol
Display a file's symbol outline, listing functions, variables, and macros for quick navigation.
Instructions
Show the file's symbol outline (functions, variables, macros).
Like the Outline / Structure panel in an IDE.
Confidence: MEDIUM. Symbols generated by macros may be missing.
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": "lsp_document_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||