keycloak_list_admin_events
Audit realm changes by searching admin events for user, client, and role modifications. Filter by date, user, client, resource path, or operation type.
Instructions
Search admin events — the audit trail of changes made to the realm itself (who created this user, who changed that client). Requires admin event logging to be enabled.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "keycloak_list_admin_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Maximum number of results to return (1-500). Defaults to 50. | |
| first | No | Pagination offset — index of the first result to return (0-based). | |
| realm | No | Realm to operate on. Defaults to the server's configured realm (KEYCLOAK_REALM). | |
| dateTo | No | Inclusive upper bound, as YYYY-MM-DD. | |
| authUser | No | Filter by the user UUID that made the change. | |
| dateFrom | No | Inclusive lower bound, as YYYY-MM-DD. | |
| authClient | No | Filter by the clientId that made the change. | |
| resourcePath | No | e.g. `users/8f3c...`. | |
| resourceTypes | No | e.g. ["USER", "CLIENT", "REALM_ROLE", "GROUP"]. | |
| operationTypes | No |