Change the current user's password
change_passwordChange the authenticated user's password. Requires admin writes enabled and confirm=true to rotate the login credential.
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.
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. |