@tpmjs/tools-response-template-suggest
Suggests response templates for support tickets based on ticket category and customer context. Includes personalization points and tone recommendations to improve customer satisfaction.
Ticket must have a non-empty subject
Last checked: 3/1/2026, 4:26:04 AM
Test @tpmjs/tools-response-template-suggest (responseTemplateSuggestTool) with AI-powered execution
0/2000 characters
Install this tool and use it with the AI SDK
npm install @tpmjs/tools-response-template-suggestpnpm add @tpmjs/tools-response-template-suggestyarn add @tpmjs/tools-response-template-suggestbun add @tpmjs/tools-response-template-suggestdeno add npm:@tpmjs/tools-response-template-suggestimport { responseTemplateSuggestTool } from '@tpmjs/tools-response-template-suggest';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { responseTemplateSuggestTool } from '@tpmjs/tools-response-template-suggest';
const result = await generateText({
model: openai('gpt-4o'),
tools: { responseTemplateSuggestTool },
prompt: 'Your prompt here...',
});
console.log(result.text);(ticket: { subject: string; category: string; priority: string; description: string }, customerContext?: { tier: string; sentiment: string; accountAge: number; totalTickets: number; lastInteraction: string }) => Promise<unknown>Available configuration options
ticketobjectSupport ticket information
customerContextobjectCustomer history and context (optional)
Schema extracted: 3/1/2026, 4:26:04 AM
ERROR: No README data found!
Downloads/month
4
GitHub Stars
0
Quality Score