Change the current user's password
change_passwordRotate the active session's password by providing old and new credentials with confirm=true. The old password stops working immediately, and passwords are never logged.
Instructions
Change the authenticated user's password. Requires admin writes enabled (PORTAL_ALLOW_ADMIN_WRITES=1) and confirm=true — this rotates the credential the current session signs in with. Passwords are never logged or echoed back.
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": {
"old_password": "<old_password>",
"new_password": "<new_password>"
},
"name": "change_password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true — this rotates YOUR OWN login credential; the old password stops working immediately. | |
| new_password | Yes | New password. | |
| old_password | Yes | Current password. |