@tpmjs/tools-postmark
Update the current server configuration.
Test @tpmjs/tools-postmark (updateServer) 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 { updateServer } from '@tpmjs/tools-postmark';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { updateServer } from '@tpmjs/tools-postmark';
const result = await generateText({
model: openai('gpt-4o'),
tools: { updateServer },
prompt: 'Your prompt here...',
});
console.log(result.text);(Name?: string, Color?: string, TrackLinks?: string, TrackOpens?: boolean, OpenHookUrl?: string, ClickHookUrl?: string, BounceHookUrl?: string, InboundDomain?: string, InboundHookUrl?: string, DeliveryHookUrl?: string, RawEmailEnabled?: boolean, SmtpApiActivated?: boolean, PostFirstOpenOnly?: boolean, InboundSpamThreshold?: number) => Promise<unknown>Available configuration options
NamestringServer name.
ColorstringServer color (e.g., purple, blue, turquoise, green, red, yellow, grey, orange).
SmtpApiActivatedbooleanEnable SMTP API.
RawEmailEnabledbooleanEnable raw email access.
InboundHookUrlstringInbound webhook URL.
BounceHookUrlstringBounce webhook URL.
OpenHookUrlstringOpen tracking webhook URL.
PostFirstOpenOnlybooleanOnly post first open.
TrackOpensbooleanEnable open tracking.
TrackLinksstringInboundDomainstringInbound processing domain.
InboundSpamThresholdnumberSpam threshold (0-25).
ClickHookUrlstringClick tracking webhook URL.
DeliveryHookUrlstringDelivery webhook URL.
Schema extracted: 3/1/2026, 4:26:08 AM
ERROR: No README data found!
Downloads/month
178
GitHub Stars
14
Quality Score