Function createHandoffTool
- createHandoffTool(params): DynamicStructuredTool<ZodObject<{}, "strip", ZodTypeAny, {}, {}>, {}, {}, Command<unknown, {
activeAgent: string;
messages: BaseMessage[];
}, string>> Parameters
- params: CreateHandoffToolParams
Returns DynamicStructuredTool<ZodObject<{}, "strip", ZodTypeAny, {}, {}>, {}, {}, Command<unknown, {
activeAgent: string;
messages: BaseMessage[];
}, string>>
Create a tool that can handoff control to the requested agent.