list_user_consents
Retrieve all consents granted by a specific user in a Keycloak realm. Use this to audit user permissions and manage consent records.
Instructions
List consents granted by a user.
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>",
"user_id": "<user_id>"
},
"name": "list_user_consents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| user_id | Yes | User ID |