patch_table
Modify part of an existing DDIC table DDL by replacing an exact string once, avoiding a full definition resend; useful for small edits such as adding a field.
Instructions
Modify PART of an existing DDIC database table's DDL without resending the whole definition. Reads the current source, replaces oldString with newString (must match EXACTLY ONCE), then locks, PUTs, unlocks, and optionally activates. Prefer this over update_table for small edits like adding a field. Refuses to run on production profiles. Activating a structure change may convert the DB, so activate defaults to false.
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": {
"tableName": "<tableName>",
"oldString": "<oldString>",
"newString": "<newString>"
},
"name": "patch_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activate | No | Activate after writing. Default false - activate in SE11 yourself. | |
| newString | Yes | Replacement text | |
| oldString | Yes | Exact existing DDL text to replace. Must occur exactly once - include enough context to be unique. | |
| tableName | Yes | Table name, e.g. ZKIT_PRODUCT | |
| transport | No | Transport request. Omit only for local/$TMP tables. |