@tpmjs/tools-postmark
Get an overview of outbound email statistics.
Test @tpmjs/tools-postmark (getStatsOverview) with AI-powered execution
0/2000 characters
Install this tool and use it with the AI SDK
npm install @tpmjs/tools-postmarkpnpm add @tpmjs/tools-postmarkyarn add @tpmjs/tools-postmarkbun add @tpmjs/tools-postmarkdeno add npm:@tpmjs/tools-postmarkimport { getStatsOverview } from '@tpmjs/tools-postmark';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { getStatsOverview } from '@tpmjs/tools-postmark';
const result = await generateText({
model: openai('gpt-4o'),
tools: { getStatsOverview },
prompt: 'Your prompt here...',
});
console.log(result.text);(tag?: string, todate?: string, fromdate?: string, messagestream?: string) => Promise<unknown>Available configuration options
tagstringFilter by tag.
fromdatestringStart date (YYYY-MM-DD).
todatestringEnd date (YYYY-MM-DD).
messagestreamstringMessage stream ID.
Schema extracted: 3/1/2026, 4:26:43 AM
ERROR: No README data found!
Downloads/month
178
GitHub Stars
14
Quality Score