patch_structure
Modify part of an existing DDIC structure DDL by replacing an exact string once, with production write protection. Use it to add or change fields without rewriting the full structure.
Instructions
Modify PART of an existing DDIC structure's DDL (e.g. add one field). 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": {
"structureName": "<structureName>",
"oldString": "<oldString>",
"newString": "<newString>"
},
"name": "patch_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activate | No | Activate after writing. Default false. | |
| newString | Yes | Replacement text | |
| oldString | Yes | Exact existing DDL text to replace. Must occur exactly once. | |
| transport | No | Transport request. Omit only for local/$TMP objects. | |
| structureName | Yes | Structure name, e.g. ZST_PLANT_EMAIL |