update_interface
Overwrite an existing ABAP interface's source with a complete new version; use for full replacements when patch edits are unsuitable. Refuses production profiles and can activate after writing.
Instructions
Overwrite the source of an EXISTING ABAP interface. REPLACES the whole interface - read it first and send the complete result back. Refuses to run on production profiles. Prefer patch_interface for small edits.
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>",
"source": "<source>"
},
"name": "update_interface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Complete new ABAP source - REPLACES the entire interface | |
| activate | No | Activate after writing. Default false. | |
| transport | No | Transport request. Omit only for local/$TMP objects. | |
| interfaceName | Yes | Interface name, e.g. ZIF_ABL_PLANT_EMAIL |