reset_passwords_batch
Reset multiple user passwords in Keycloak from CSV text, with optional temporary flag for forced change on next login.
Instructions
Reset passwords for multiple users from CSV text.
Each line should be: username,password If password column is empty, a random 12-char password is generated and included in the response (the caller cannot recover it otherwise). Caller-supplied passwords are never echoed back.
Args: csv_text: CSV text with username,password per line (header optional). temporary: If True, users must change password on next login.
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": {
"csv_text": "<csv_text>"
},
"name": "reset_passwords_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv_text | Yes | ||
| temporary | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |