withTools
Sets the tools to be used for the subtask configuration.
Return
An updated instance of SubtaskBuilderWithInputAndOutput reflecting the applied tools.
Parameters
tools
A list of tools, each represented as an instance of Tool<*, *>, to be utilized for the execution of the subtask.
fun withTools(vararg toolSets: ERROR CLASS: Symbol not found for ToolSet): SubtaskBuilderWithInputAndOutput<Input, Output>(source)
Adds the specified sets of tools to the subtask configuration.
Return
An updated instance of SubtaskBuilderWithInputAndOutput configured with the specified tools.
Parameters
toolSets
A variable number of instances of ToolSet, each representing a group of tools that can be used for the execution of the subtask. Each ToolSet will be converted into a list of tools using its asTools method.