Skip to main content

Function: createWorkerTools()

createWorkerTools(orchestrator, currentAgentName): Record<string, ZodToolDefinition<any, any>>

Defined in: packages/orchestration/src/crew/crew-tools.ts:109

Creates collaboration tools for worker agents.

  • request_help — create a sub-task for another agent, optionally blocking
  • get_team_context — see what other agents have completed

Parameters

orchestrator

Orchestrator

currentAgentName

string

Returns

Record<string, ZodToolDefinition<any, any>>