GetAbapAST
Parse ABAP source code outside batch mode and return the Abstract Syntax Tree as JSON, enabling static analysis and code structure inspection.
Instructions
[read-only] Parse ABAP code and return AST (Abstract Syntax Tree) in JSON format. Runs outside batch mode.
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": {
"code": "<code>"
},
"name": "GetAbapAST"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ABAP source code to parse |