limitedTools
Configures the builder to use a specific list of tools for the AI agent's subgraph.
Return
The current instance of AgentSubgraphBuilder for chaining further configurations.
Parameters
tools
A list of tools to be used, each represented by its descriptor.
fun limitedTools(vararg toolSets: ERROR CLASS: Symbol not found for ToolSet): SubgraphBuilder(source)
Configures the builder with a selection of tools defined by the provided tool sets. The tools will be extracted from each ToolSet and applied to the builder's tool selection strategy.
Return
The current instance of
Parameters
toolSets
One or more ToolSet instances, each representing a collection of tools to be added to the builder's tool selection strategy.