clangd_diagnostics
Retrieve fresh diagnostics for a file across selected clangd configurations to surface C++ errors and warnings; omit configurations to check all available contexts.
Instructions
Get fresh file diagnostics 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>"
},
"name": "clangd_diagnostics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| timeout | No | ||
| configurations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |