generate_example_id_token
Generate an example ID token to evaluate client scopes for a Keycloak client, letting you inspect the token's claims and audience before relying on the configuration.
Instructions
Generate an example ID token for evaluating client scopes.
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>",
"client_uuid": "<client_uuid>"
},
"name": "generate_example_id_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| scope | No | Scope to evaluate | |
| userId | No | ID of the user to evaluate for | |
| audience | No | Audience for the generated token | |
| client_uuid | Yes | Client UUID |