Function: createTicketWorkerTools()
createTicketWorkerTools(
opts):Record<string,ZodToolDefinition<any,any>>
Defined in: packages/orchestration/src/tools/ticket-worker-tools.ts:51
Creates ask_human, update_ticket and propose_ticket bound to a single ticket id.
Parameters
opts
Returns
Record<string, ZodToolDefinition<any, any>>
Example
processableFactory: (ticket) => Baleybot.create({
name: 'worker',
goal: 'Resolve the ticket',
tools: createTicketWorkerTools({
ticketId: ticket.id,
runId: ticket.activeRunId!,
ticketStore: stores.tickets,
events: orchestrator.events,
}),
}),
AgentRegistration.ticketTools: true lends the same tools to every run
without a factory.