confirm_password_reset
Confirm a password reset by validating a token and setting a new password in the PocketBase MCP Server. Ensures secure password updates for specified collections.
Instructions
Confirm password reset with token
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | No | Collection name (default: users) | users |
| password | Yes | New password | |
| passwordConfirm | Yes | Confirm new password | |
| token | Yes | Reset token |
Implementation Reference
- src/index.ts:453-479 (registration)Registration of the 'confirm_password_reset' tool, including its name, description, and input schema in the tools list provided to the MCP server.{ name: 'confirm_password_reset', description: 'Confirm password reset with token', inputSchema: { type: 'object', properties: { token: { type: 'string', description: 'Reset token', }, password: { type: 'string', description: 'New password', }, passwordConfirm: { type: 'string', description: 'Confirm new password', }, collection: { type: 'string', description: 'Collection name (default: users)', default: 'users' } }, required: ['token', 'password', 'passwordConfirm'], }, },
- src/index.ts:456-478 (schema)Input schema definition for the 'confirm_password_reset' tool, specifying parameters like token, password, passwordConfirm, and optional collection.inputSchema: { type: 'object', properties: { token: { type: 'string', description: 'Reset token', }, password: { type: 'string', description: 'New password', }, passwordConfirm: { type: 'string', description: 'Confirm new password', }, collection: { type: 'string', description: 'Collection name (default: users)', default: 'users' } }, required: ['token', 'password', 'passwordConfirm'], },