lsp_inspect_symbol
Inspect a symbol at a file position to retrieve hover info, definitions, references, enclosing symbols, and risk hints.
Instructions
Return hover, definitions, references, enclosing symbols, and risk hints for a symbol at a position.
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>",
"position": "<position>"
},
"name": "lsp_inspect_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute or workspace-relative path to the file. | |
| position | Yes | Line/character position (zero-based) of the symbol to inspect. | |
| maxReferences | No | Maximum number of references to return. |