update_dcl
Overwrite an existing Access Control/DCL source by sending the complete new definition; read current source first. Refuses production profiles and is for full replacements, not small edits.
Instructions
Overwrite the source of an EXISTING Access Control / DCL source. REPLACES the whole definition - read it first and send the complete result back. Refuses to run on production profiles. Prefer patch_dcl for small edits.
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>",
"source": "<source>"
},
"name": "update_dcl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Complete new DCL source - REPLACES the entire definition | |
| dclName | Yes | DCL/access control name, e.g. ZAC_MY_ENTITY | |
| activate | No | Activate after writing. Default false. | |
| transport | No | Transport request. Omit only for local/$TMP objects. |