invite_user_to_organization
Invite an existing user or send a registration link to a new user by email, adding them to a Keycloak organization; requires Keycloak 25+.
Instructions
Invites an existing user or sends a registration link to a new user, based on the provided e-mail address. Requires Keycloak 25+.
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>",
"org_id": "<org_id>",
"invitation_data": "<invitation_data>"
},
"name": "invite_user_to_organization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| org_id | Yes | Organization ID | |
| client_id | No | Client id | |
| invitation_data | Yes | Form fields: email, firstName, lastName |