@tpmjs/tools-resend
Cancel a scheduled email that has not been sent yet.
Validation error: The `id` must be a valid UUID.
Last checked: 3/1/2026, 4:26:31 AM
Test @tpmjs/tools-resend (cancelEmail) 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 { cancelEmail } from '@tpmjs/tools-resend';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { cancelEmail } from '@tpmjs/tools-resend';
const result = await generateText({
model: openai('gpt-4o'),
tools: { cancelEmail },
prompt: 'Your prompt here...',
});
console.log(result.text);(id: string) => Promise<unknown>Available configuration options
idstringThe email ID to cancel.
Schema extracted: 3/1/2026, 4:26:30 AM
ERROR: No README data found!
Downloads/month
110
GitHub Stars
0
Quality Score