ast
Retrieve detailed AST and synthetic module context for C++20/23 module declarations and imports.
Instructions
Return clangd's detailed AST plus synthetic module context for module declarations/imports.
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": "ast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| endLine | No | ||
| startLine | No | ||
| endCharacter | No | ||
| startCharacter | No |