hover
Retrieve type signature and documentation for a code symbol by specifying file, line, and column.
Instructions
Get LSP hover information (type signature, documentation) 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": {
"file": "<file>",
"line": "<line>",
"col": "<col>"
},
"name": "hover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | Yes | Column number (1-indexed) | |
| file | Yes | Absolute file path | |
| line | Yes | Line number (1-indexed) |