require_password_reset
Require a password reset for a user at next sign-in, or clear a pending reset requirement. Preview changes with dry-run and undo the flag if needed.
Instructions
[WRITE][risk=medium] Require a password reset at next sign-in (Keycloak required actions); reversible — the undo clears the flag only if this call set it. Pass clear=True to remove a pending requirement instead.
Args: user_id: User id, from list_users. clear: If True, REMOVE the pending reset requirement (the undo path). dry_run: If True, preview without changing. target: IdP target name from config; omit for the default.
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": {
"user_id": "<user_id>"
},
"name": "require_password_reset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | ||
| target | No | ||
| dry_run | No | ||
| user_id | Yes |