@tpmjs/tools-resend
Create a new API key with specified permissions.
Test @tpmjs/tools-resend (createApiKey) 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 { createApiKey } from '@tpmjs/tools-resend';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { createApiKey } from '@tpmjs/tools-resend';
const result = await generateText({
model: openai('gpt-4o'),
tools: { createApiKey },
prompt: 'Your prompt here...',
});
console.log(result.text);(name: string, domain_id?: string, permission?: string) => Promise<unknown>Available configuration options
namestringName for the API key (max 50 characters).
permissionstringPermission: "full_access" or "sending_access".
domain_idstringRestrict to a domain (only for sending_access).
Schema extracted: 3/1/2026, 4:28:16 AM
ERROR: No README data found!
Downloads/month
110
GitHub Stars
0
Quality Score