list_domains
Retrieve verified sending domains to manage email authentication and ensure deliverability for transactional emails.
Instructions
List verified sending domains
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:404-409 (handler)Handler implementation for the 'list_domains' tool. It makes an API request to '/api/domains' and returns the JSON response.
case 'list_domains': { const result = await apiRequest('/api/domains'); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }], }; } - src/index.ts:184-191 (registration)Registration of the 'list_domains' tool, including its name, description, and input schema (no required parameters).
{ name: 'list_domains', description: 'List verified sending domains', inputSchema: { type: 'object' as const, properties: {}, }, }, - src/index.ts:187-190 (schema)Input schema for the 'list_domains' tool, which requires no parameters.
inputSchema: { type: 'object' as const, properties: {}, },