Reset a user's password
reset_passwordReset a user's password and optionally revoke all active sessions to regain account security.
Instructions
Set a new password for a local user, optionally invalidating all of their existing access tokens.
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": {
"userId": "<userId>",
"password": "<password>"
},
"name": "reset_password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | Fully-qualified user ID, e.g. @alice:example.com | |
| password | Yes | New password | |
| logoutDevices | No | Invalidate all existing access tokens for this user |