patch_dcl
Modify part of an existing Access Control (DCL) source by replacing an exact string once; refuses to run on production profiles.
Instructions
Modify PART of an existing Access Control / DCL source (e.g. change one condition). 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": {
"dclName": "<dclName>",
"oldString": "<oldString>",
"newString": "<newString>"
},
"name": "patch_dcl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dclName | Yes | DCL/access control name, e.g. ZAC_MY_ENTITY | |
| activate | No | Activate after writing. Default false. | |
| newString | Yes | Replacement text | |
| oldString | Yes | Exact existing text to replace. Must occur exactly once. | |
| transport | No | Transport request. Omit only for local/$TMP objects. |