prettyPrinter
Formats ABAP source code to improve readability and maintain coding standards. Provide the source and optional connection for immediate formatting.
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. | |
| connection | No | Optional: SAP connection name to use for THIS call only (overrides the active connection; see listConnections). Immune to server restarts and concurrent switches. |