list_realm_events
List and filter Keycloak realm events by type, user, client, IP address, or date range. Retrieve paginated, sorted event records for auditing and monitoring realm activity.
Instructions
List events for the realm.
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": {
"realm": "<realm>"
},
"name": "list_realm_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Maximum results size | |
| type | No | Event type to filter by | |
| user | No | User to filter by | |
| first | No | Pagination offset | |
| realm | Yes | Realm name | |
| client | No | Client to filter by | |
| dateTo | No | Date to (inclusive) | |
| dateFrom | No | Date from (inclusive) | |
| direction | No | The direction to sort events by (asc or desc) | |
| ipAddress | No | IP address to filter by |