lsp_hover
Retrieve C++ type information and documentation at a specific code position by providing file path, line, and column.
Instructions
Get type and documentation info at a specific code 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": {
"session_id": "<session_id>",
"file_path": "<file_path>",
"line": "<line>",
"column": "<column>"
},
"name": "lsp_hover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The LSP session identifier. | |
| file_path | Yes | Absolute path to the C++ source file. | |
| line | Yes | 0-indexed line number. | |
| column | Yes | 0-indexed column number. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |