reset_password
Reset a user's password. Provide a new password, or let the tool generate a strong one to forward to the user.
Instructions
Reset a user's password. If new_password is omitted, generates a random strong one and returns it (you MUST forward to the user out-of-band).
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": "reset_password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ||
| new_password | No | If omitted, generates a random strong password and returns it in the payload. The user should be told to change it on first login. |