Creating a Tool
To create a tool, define the input and output schemas using Zod. Each Zod field should include a description to improve LLM tool selection when used in a toolbox.icepick.tool
method:
Running a Tool
Tools can be executed directly using several methods. The most common isrun
, which executes the tool and waits for completion:
runNoWait
to trigger execution without waiting:
Using Tools in Agents
Tools are typically called from within agents using the tool’srun
method: