@tpmjs/tools-resend
Add a new sending domain to your Resend account.
Validation error: The domain "test" is invalid. Please try again.
Last checked: 2/27/2026, 4:19:37 AM
Test @tpmjs/tools-resend (createDomain) with AI-powered execution
0/2000 characters
Install this tool and use it with the AI SDK
npm install @tpmjs/tools-resendpnpm add @tpmjs/tools-resendyarn add @tpmjs/tools-resendbun add @tpmjs/tools-resenddeno add npm:@tpmjs/tools-resendimport { createDomain } from '@tpmjs/tools-resend';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { createDomain } from '@tpmjs/tools-resend';
const result = await generateText({
model: openai('gpt-4o'),
tools: { createDomain },
prompt: 'Your prompt here...',
});
console.log(result.text);(name: string, tls?: string, region?: string, open_tracking?: boolean, click_tracking?: boolean, custom_return_path?: string) => Promise<unknown>Available configuration options
namestringThe domain name to add (e.g. "example.com").
regionstringRegion: us-east-1, eu-west-1, sa-east-1, or ap-northeast-1.
custom_return_pathstringSubdomain for Return-Path (default: "send").
open_trackingbooleanEnable open rate tracking.
click_trackingbooleanEnable click tracking in HTML emails.
tlsstringTLS mode: "opportunistic" or "enforced".
Schema extracted: 2/27/2026, 4:19:36 AM
ERROR: No README data found!
Downloads/month
110
GitHub Stars
0
Quality Score