codeql_hover
Retrieve documentation and type information for a specific position in CodeQL files. Pass file URI, line, and character to get contextual details.
Instructions
Retrieves hover information (documentation, type information) at a specific position.
Args: file_uri: URI of the CodeQL file line: 0-based line number character: 0-based character position
Returns: Dictionary with hover information and metadata
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_uri": "<file_uri>",
"line": "<line>",
"character": "<character>"
},
"name": "codeql_hover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | ||
| file_uri | Yes | ||
| character | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||