clangd_references
Find all references to a C++ symbol at a specified file position, optionally filtered by build configuration and including its declaration.
Instructions
Find references to the symbol in selected configurations.
Omitted or empty configurations select all available contexts.
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>",
"position": "<position>"
},
"name": "clangd_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| timeout | No | ||
| position | Yes | ||
| configurations | No | ||
| include_declaration | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |