verify_domain
Check domain verification status for email sending. Confirm if a domain is properly configured to send transactional emails through GetMailer.
Instructions
Check if a domain has been verified
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Domain ID |
Implementation Reference
- src/index.ts:421-429 (handler)Handler function for the 'verify_domain' tool. It sends a POST request to the GetMailer API endpoint '/api/domains/verify' with the provided domain ID and returns the verification result as JSON.case 'verify_domain': { const result = await apiRequest('/api/domains/verify', { method: 'POST', body: JSON.stringify({ id: args?.id }), }); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }], }; }
- src/index.ts:206-219 (registration)Registration of the 'verify_domain' tool in the list of tools provided by ListToolsRequestSchema handler, including its schema.{ name: 'verify_domain', description: 'Check if a domain has been verified', inputSchema: { type: 'object' as const, properties: { id: { type: 'string', description: 'Domain ID', }, }, required: ['id'], }, },
- src/index.ts:209-218 (schema)Input schema for the 'verify_domain' tool, defining the required 'id' parameter.inputSchema: { type: 'object' as const, properties: { id: { type: 'string', description: 'Domain ID', }, }, required: ['id'], },