confirm_email_change
Verify and complete email address updates for user accounts using a confirmation token and password validation.
Instructions
Confirm email change with token
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Email change token | |
| password | Yes | Current password for confirmation | |
| collection | No | Collection name (default: users) | users |
Implementation Reference
- src/index.ts:500-521 (registration)Registration of the 'confirm_email_change' tool in the tools.setTools array, including name, description, and input schema. Note: No corresponding handler case in the switch statement.name: 'confirm_email_change', description: 'Confirm email change with token', inputSchema: { type: 'object', properties: { token: { type: 'string', description: 'Email change token', }, password: { type: 'string', description: 'Current password for confirmation', }, collection: { type: 'string', description: 'Collection name (default: users)', default: 'users' } }, required: ['token', 'password'], }, },
- src/index.ts:502-520 (schema)Input schema definition for the 'confirm_email_change' tool, specifying parameters: token (required), password (required), collection (optional, default 'users').inputSchema: { type: 'object', properties: { token: { type: 'string', description: 'Email change token', }, password: { type: 'string', description: 'Current password for confirmation', }, collection: { type: 'string', description: 'Collection name (default: users)', default: 'users' } }, required: ['token', 'password'], },