adt_create_object
Creates an ABAP object shell in a package, returning the URI for later source writing. Handles types like CLAS, PROG, INTF, FUGR, TABL, DTEL.
Instructions
Create a new ABAP object shell (no source yet) in a package (default $TMP). Returns the new object's URI so you can follow up with adt_write_source. Name must match the Z*/Y* prefix whitelist.
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": {
"objectType": "<objectType>",
"name": "<name>"
},
"name": "adt_create_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New object name, e.g. ZCL_MY_CLASS | |
| package | No | Target package / DEVCLASS. Omit to be asked (create new package | use $TMP). | |
| transport | No | Transport request for the creation. Omit + non-$TMP package -> asked to create one. | |
| objectType | Yes | Creatable type id, e.g. CLAS, PROG, INTF, FUGR, TABL, DTEL | |
| description | No | Created via ABAP ADT MCP |