explainSymbol
Retrieve comprehensive symbol information including type signature, documentation, definition location, call hierarchy, and reference count in a single call.
Instructions
Get comprehensive symbol info in one call: type signature, docs, definition location, call hierarchy, and reference count.
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": {
"filePath": "<filePath>",
"line": "<line>",
"column": "<column>"
},
"name": "explainSymbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | Line number (1-based) | |
| column | Yes | Column number (1-based) | |
| filePath | Yes | Workspace or absolute file path | |
| useMemoryGraph | No | Query codebase-memory graph for architectural context: module ownership, ADRs, graph callers (default: false). Requires codebase-memory MCP connected + repo indexed. | |
| includeSiblings | No | Also fetch sibling symbols in the same file — other functions, classes, and variables defined alongside the target (default: false) | |
| includeCodeActions | No | Also fetch available code actions at this position (default: false) | |
| includeTypeHierarchy | No | Also fetch supertypes/subtypes hierarchy (default: false) |