clangd_hover
Returns type and documentation for a C++ symbol at a given line and character position, aiding code understanding. Empty configurations query all available contexts.
Instructions
Describe the symbol at a one-based line and zero-based code-point position.
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_hover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| timeout | No | ||
| position | Yes | ||
| configurations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |