from typing import Literal from langchain.tools import tool from pydantic import BaseModel, Field class TicketSummaryInput(BaseModel): """Input fields for a support-ticket summary.""" title: str = Field(description="Short title from the support queue") priority: Literal["low", "normal", "high"] = Field( default="normal", description="Escalation priority for the routing summary", ) requester: str = Field(description="Name or team that opened the ticket")