update_smtp
Modify SMTP settings to configure custom email notifications on VoiceAI-MCP-VAVicky by updating email, password, host, and port details.
Instructions
Update SMTP settings for custom email notifications
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| smtp_email | Yes | SMTP email address | |
| smtp_host | Yes | SMTP host | |
| smtp_password | Yes | SMTP password | |
| smtp_port | No | SMTP port |
Implementation Reference
- index.js:507-516 (handler)Handler logic within the executeTool method's switch statement. Constructs a PATCH request to the /user/smtp endpoint using the provided SMTP configuration arguments.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:67-76 (schema)Input schema defining the parameters for updating SMTP settings, including types, descriptions, and required fields.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)Tool registration entry in the ListToolsRequestSchema handler, specifying name, description, and input schema.{ 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'] } },