update_client_template_protocol_mapper
Update a protocol mapper's configuration within a Keycloak client scope to change how claims or attributes are mapped into tokens and user info responses.
Instructions
Update the mapper.
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_scope_id": "<client_scope_id>",
"mapper_id": "<mapper_id>",
"mapper_data": "<mapper_data>"
},
"name": "update_client_template_protocol_mapper"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| mapper_id | Yes | Protocol mapper ID | |
| mapper_data | Yes | Protocol mapper representation | |
| client_scope_id | Yes | Client scope ID |