WorkflowTools
toolkit enables Agents to execute, analyze, and reason about workflow operations. This toolkit integrates with Workflow
and provides a structured approach for running workflows and evaluating their results.
The toolkit implements a “Think → Run → Analyze” cycle that allows an Agent to:
think
: A scratchpad for planning workflow execution, brainstorming inputs, and refining approaches. These thoughts remain internal to the Agent and are not shown to users.run_workflow
: Executes the workflow with specified inputs and additional parameters.analyze
: Evaluates whether the workflow execution results are correct and sufficient, determining if further workflow runs are needed.enable_think=True
and enable_analyze=True
.WorkflowTools
toolkit:
WorkflowTools
toolkit supports both synchronous and asynchronous workflow execution: