patch_interface
Modify part of an existing ABAP interface by replacing one exact oldString with newString; refuses to run on production profiles.
Instructions
Modify PART of an existing ABAP interface (e.g. add one method signature). Replaces oldString with newString (must match EXACTLY ONCE). Refuses to run on production profiles.
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": {
"interfaceName": "<interfaceName>",
"oldString": "<oldString>",
"newString": "<newString>"
},
"name": "patch_interface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activate | No | Activate after writing. Default false. | |
| newString | Yes | Replacement text | |
| oldString | Yes | Exact existing text to replace. Must occur exactly once. | |
| transport | No | Transport request. Omit only for local/$TMP objects. | |
| interfaceName | Yes | Interface name, e.g. ZIF_ABL_PLANT_EMAIL |