toolRegistry

expect open override fun toolRegistry(toolRegistry: ToolRegistry): AIAgentBuilder(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.

actual open override fun toolRegistry(toolRegistry: ToolRegistry): AIAgentBuilder(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.

actual open override fun toolRegistry(toolRegistry: ToolRegistry): AIAgentBuilder(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.