create_interface
Create and optionally activate a new ABAP interface using complete source. Production profiles are refused to prevent unsafe SAP writes.
Instructions
Create a new ABAP interface and optionally activate it. Refuses to run on production profiles. Needs the full source (INTERFACE PUBLIC. ... ENDINTERFACE.).
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>",
"description": "<description>",
"packageName": "<packageName>",
"source": "<source>"
},
"name": "create_interface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Complete ABAP source of the interface | |
| activate | No | Activate after writing the source | |
| transport | No | Transport request. Omit only for $TMP. | |
| description | Yes | Short description | |
| packageName | Yes | Package, e.g. ZABAP. Use $TMP for a local throwaway. | |
| interfaceName | Yes | Interface name, e.g. ZIF_ABL_PLANT_EMAIL |