extractMethodExecute
Extract a selected code block into a new method in SAP ABAP. Streamline refactoring by isolating logic into reusable methods.
Instructions
Executes an extract method refactoring.
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": {
"refactoring": "<refactoring>"
},
"name": "extractMethodExecute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| refactoring | Yes | The refactoring object. |