create_acl
Creates a new ACL rule to control access to ServiceNow tables or fields, specifying allowed operations such as read, write, create, delete, or execute.
Instructions
Create a new ACL rule to control access to a table or field (requires SCRIPTING_ENABLED=true)
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": {
"name": "<name>",
"operation": "<operation>"
},
"name": "create_acl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ACL name (typically "table.field" or "table.*") | |
| type | No | "record" | "field" | "rest_endpoint" | "soap_endpoint" | |
| roles | No | Comma-separated roles required (e.g. "admin,itil") | |
| active | No | Whether to activate immediately (default: true) | |
| script | No | Optional condition script (return true to allow) | |
| operation | Yes | "read" | "write" | "create" | "delete" | "execute" | |
| description | No | Description of this access rule | |
| admin_overrides | No | Allow admin to override (default: true) |