getHover
Get type information and documentation for a symbol at a given position in a file. Provide file path, line, and column to retrieve hover data.
Instructions
Get hover information (type info, documentation) for a symbol at a given 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>",
"line": "<line>",
"column": "<column>"
},
"name": "getHover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | Line number (1-based) | |
| column | Yes | Column (1-based) | |
| filePath | Yes | Workspace or absolute path |