update_smtp
Configure SMTP server settings to enable custom email notifications for VoiceAI integrations.
Instructions
Update SMTP settings for custom email notifications
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| smtp_email | Yes | SMTP email address | |
| smtp_password | Yes | SMTP password | |
| smtp_host | Yes | SMTP host | |
| smtp_port | No | SMTP port |
Implementation Reference
- index.js:507-516 (handler)Executes the update_smtp tool by constructing a PATCH request to the /user/smtp endpoint with the provided SMTP configuration parameters.case 'update_smtp': url = `${this.baseUrl}/user/smtp`; method = 'PATCH'; body = { smtp_email: args.smtp_email, smtp_password: args.smtp_password, smtp_host: args.smtp_host, smtp_port: args.smtp_port }; break;
- index.js:64-77 (schema)Defines the input schema and metadata for the update_smtp tool, specifying required and optional parameters for SMTP configuration.{ name: 'update_smtp', description: 'Update SMTP settings for custom email notifications', inputSchema: { type: 'object', properties: { smtp_email: { type: 'string', description: 'SMTP email address' }, smtp_password: { type: 'string', description: 'SMTP password' }, smtp_host: { type: 'string', description: 'SMTP host' }, smtp_port: { type: 'string', description: 'SMTP port' } }, required: ['smtp_email', 'smtp_password', 'smtp_host'] } },
- index.js:64-77 (registration)Registers the update_smtp tool in the listTools response, making it discoverable by MCP clients.{ name: 'update_smtp', description: 'Update SMTP settings for custom email notifications', inputSchema: { type: 'object', properties: { smtp_email: { type: 'string', description: 'SMTP email address' }, smtp_password: { type: 'string', description: 'SMTP password' }, smtp_host: { type: 'string', description: 'SMTP host' }, smtp_port: { type: 'string', description: 'SMTP port' } }, required: ['smtp_email', 'smtp_password', 'smtp_host'] } },