@tpmjs/tools-resend
Create a new contact with email and optional properties.
Rate limit exceeded: Too many requests. You can only make 2 requests per second. See rate limit response headers for more information. Or contact support to increase rate limit.
Last checked: 2/27/2026, 4:19:42 AM
Test @tpmjs/tools-resend (createContact) 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 { createContact } from '@tpmjs/tools-resend';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { createContact } from '@tpmjs/tools-resend';
const result = await generateText({
model: openai('gpt-4o'),
tools: { createContact },
prompt: 'Your prompt here...',
});
console.log(result.text);(email: string, last_name?: string, first_name?: string, properties?: Record<string, unknown>, unsubscribed?: boolean) => Promise<unknown>Available configuration options
emailstringContact email address.
first_namestringContact first name.
last_namestringContact last name.
unsubscribedbooleanIf true, contact is unsubscribed from all broadcasts.
propertiesobjectCustom key-value properties for the contact.
Schema extracted: 2/27/2026, 4:19:41 AM
ERROR: No README data found!
Downloads/month
110
GitHub Stars
0
Quality Score