Creating a Toolbox
Create a toolbox by passing an array of tools to theicepick.toolbox
method:
Using a Toolbox
Tool Selection and Execution
UsepickAndRun
to let the AI select and execute the most appropriate tool based on a natural language prompt:
Tool Selection Only
Usepick
to select tools without executing them, useful when you need to inspect the selection before execution:
Multiple Tool Selection
Select and execute multiple tools by specifyingmaxTools
: