get_document_symbols_code
Retrieve a complete symbol outline for any file, displaying hierarchical structure with line numbers to navigate code efficiently.
Instructions
Gets complete symbol outline for a file showing hierarchical structure and line numbers
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_document_symbols_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The path to the file to analyze (relative to workspace) | |
| maxDepth | No | Maximum nesting depth to display (optional) |