@tpmjs/tools-postmark
Create a new message stream.
Test @tpmjs/tools-postmark (createMessageStream) 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 { createMessageStream } from '@tpmjs/tools-postmark';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { createMessageStream } from '@tpmjs/tools-postmark';
const result = await generateText({
model: openai('gpt-4o'),
tools: { createMessageStream },
prompt: 'Your prompt here...',
});
console.log(result.text);(ID: string, Name: string, MessageStreamType: string, Description?: string) => Promise<unknown>Available configuration options
IDstringUnique stream ID (lowercase, alphanumeric, hyphens).
NamestringDisplay name.
MessageStreamTypestringStream type.
DescriptionstringOptional description.
Schema extracted: 2/28/2026, 4:00:47 AM
ERROR: No README data found!
Downloads/month
178
GitHub Stars
14
Quality Score