codeql_references
Locate every reference to a symbol in CodeQL files at a given position, returning reference locations and metadata for efficient code navigation and analysis.
Instructions
Finds all references to a symbol 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 reference locations 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_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | ||
| file_uri | Yes | ||
| character | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||