Send action email
keycloak_user_send_action_emailSends a one-time email to a Keycloak user with a link to complete required actions such as email verification or password update, enabling self-service account management.
Instructions
Write operation that emails the user a link prompting them to complete one or more required actions (such as verifying their email or updating their password), and returns a confirmation message. The user must have a valid email address configured. Not idempotent: each call sends a fresh email. Use this for self-service flows; to set a password directly without involving the user, use keycloak_user_reset_password instead.
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": {
"id": "<id>",
"actions": "<actions>"
},
"name": "keycloak_user_send_action_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The Keycloak user id (UUID) of the recipient. Required; obtain it from keycloak_user_search. | |
| actions | Yes | Required-action codes to include in the email, e.g. ["VERIFY_EMAIL", "UPDATE_PASSWORD"]. Required and must contain at least one valid Keycloak required-action key. |