Get hover information
nvim_hoverGet type and documentation for a symbol at a specific position, same as editor hover, using Neovim's LSP.
Instructions
Get type and documentation information for the symbol at a position, the same text the editor shows on hover.
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>",
"column": "<column>"
},
"name": "nvim_hover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | Line number, 1-based | |
| path | Yes | File path | |
| column | Yes | Column number, 1-based | |
| wait_ms | No | LSP timeout |