Get ACL
get_aclRetrieve a ServiceNow ACL by sys_id to inspect its roles, condition, and script. Optionally read with security_admin elevation to reveal role names that are otherwise hidden.
Instructions
Read one access control with its roles, condition and script.
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": {
"sys_id": "<sys_id>"
},
"name": "get_acl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sys_id | Yes | The ACL's sys_id. | |
| elevate | No | Read elevated to security_admin, so roles hidden until then show their names. Ask the user first. | |
| instance | No | The ServiceNow instance auth alias to connect to. This is the alias configured via `snc configure` (e.g., "myinstance", "prod", "test"). The user will typically refer to this by name when saying things like "on my myinstance instance". If not provided, falls back to the SN_AUTH_ALIAS environment variable. |