@tpmjs/ticket-categorize
Categorizes support tickets by type, priority, and product area. Suggests routing based on category and identifies urgent issues requiring immediate attention.
Ticket must have id, subject, and description
Last checked: 3/1/2026, 4:26:36 AM
Test @tpmjs/ticket-categorize (ticketCategorizeTool) with AI-powered execution
0/2000 characters
Install this tool and use it with the AI SDK
npm install @tpmjs/ticket-categorizepnpm add @tpmjs/ticket-categorizeyarn add @tpmjs/ticket-categorizebun add @tpmjs/ticket-categorizedeno add npm:@tpmjs/ticket-categorizeimport { ticketCategorizeTool } from '@tpmjs/ticket-categorize';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { ticketCategorizeTool } from '@tpmjs/ticket-categorize';
const result = await generateText({
model: openai('gpt-4o'),
tools: { ticketCategorizeTool },
prompt: 'Your prompt here...',
});
console.log(result.text);How AI agents can use this tool
Use this tool to automate support ticket triage, route tickets to the right team, prioritize urgent issues, and improve support efficiency.
Categorization is keyword-based. For complex tickets, consider AI-powered classification. Routing suggestions are generic and should be customized to your organization.
(ticket: { id: string; subject: string; createdAt: string; description: string; customerEmail: string }) => Promise<unknown>Available configuration options
ticketobjectSupport ticket with subject, description, and optional metadata
Schema extracted: 3/1/2026, 4:26:35 AM
ERROR: No README data found!
Downloads/month
124
GitHub Stars
0
Quality Score