document_symbols
List all C++ declarations in a given source or module unit by using clangd's hierarchical symbol view.
Instructions
List declarations in a C++ source or module unit using clangd's hierarchical symbol view.
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": "<file>"
},
"name": "document_symbols"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes |