toolRegistry

abstract fun toolRegistry(toolRegistry: ToolRegistry): AIAgentBuilderAPI(source)

Sets the given ToolRegistry instance to the builder configuration.

Return

The current instance of the Builder for chaining further configurations.

Parameters

toolRegistry

The instance of ToolRegistry to be used in the builder.