@tpmjs/tools-postmark
Search bounces with optional filters.
Test @tpmjs/tools-postmark (searchBounces) 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 { searchBounces } from '@tpmjs/tools-postmark';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { searchBounces } from '@tpmjs/tools-postmark';
const result = await generateText({
model: openai('gpt-4o'),
tools: { searchBounces },
prompt: 'Your prompt here...',
});
console.log(result.text);(count: number, offset: number, tag?: string, type?: string, todate?: string, fromdate?: string, inactive?: boolean, messageID?: string, emailFilter?: string, messagestream?: string) => Promise<unknown>Available configuration options
countnumberNumber of bounces to return (max 500).
offsetnumberNumber of bounces to skip.
typestringBounce type filter (e.g., HardBounce, SoftBounce, SpamNotification).
inactivebooleanFilter by inactive status.
emailFilterstringFilter by email address.
tagstringFilter by tag.
messageIDstringFilter by message ID.
fromdatestringStart date (YYYY-MM-DD).
todatestringEnd date (YYYY-MM-DD).
messagestreamstringMessage stream ID.
Schema extracted: 3/1/2026, 4:27:33 AM
ERROR: No README data found!
Downloads/month
178
GitHub Stars
14
Quality Score