modx_update_context_access
Update a context-access ACL entry by ID to change its policy, target, authority, or principal in MODX.
Instructions
Update a context-access ACL entry by id.
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": {
"id": "<id>"
},
"name": "modx_update_context_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| policy | No | ||
| target | No | ||
| authority | No | ||
| principal | No |