prettyPrinter
Format ABAP source code to improve readability and maintain consistent style using the ABAP Development Tools API.
Instructions
Formats ABAP code using the pretty printer.
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": {
"source": "<source>"
},
"name": "prettyPrinter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The ABAP source code to format. |