skycloak_get_logs
Read recent Keycloak server logs for a cluster, filtered by log level or free-text search, to troubleshoot issues and inspect runtime activity.
Instructions
Read recent Keycloak server logs for a cluster, optionally filtered by level and a search string.
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": {
"cluster_id": "<cluster_id>"
},
"name": "skycloak_get_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | filter by log level: info, warn, error, or debug (case-insensitive) | |
| limit | No | max entries to return (default 50) | |
| search | No | free-text search | |
| cluster_id | Yes | the cluster ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logs | Yes | ||
| count | Yes |