hover
Retrieve the type or signature of a symbol at a given line and column in a source file, using the language-server index to return concise hover details without needing the file open.
Instructions
Type/signature of the symbol at a 0-based position (hover) — a few lines, no file open.
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>",
"line": "<line>",
"character": "<character>"
},
"name": "hover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | 0-based line. | |
| path | Yes | Source file. | |
| backend | No | ||
| character | Yes | 0-based column. | |
| projectPath | No |