toolRegistry

expect open override fun toolRegistry(toolRegistry: ToolRegistry): AIAgentServiceBuilder(source)

Configures the ToolRegistry for the AIAgentServiceBuilder.

This method allows setting a ToolRegistry, which manages a collection of tools available for use by AI agents during their operation.

Return

The current instance of AIAgentServiceBuilder for fluent method chaining.

Parameters

toolRegistry

The ToolRegistry instance to be used by the agent service.

actual open override fun toolRegistry(toolRegistry: ToolRegistry): AIAgentServiceBuilder(source)

Configures the ToolRegistry for the AIAgentServiceBuilder.

This method allows setting a ToolRegistry, which manages a collection of tools available for use by AI agents during their operation.

Return

The current instance of AIAgentServiceBuilder for fluent method chaining.

Parameters

toolRegistry

The ToolRegistry instance to be used by the agent service.

actual open override fun toolRegistry(toolRegistry: ToolRegistry): AIAgentServiceBuilder(source)

Configures the ToolRegistry for the AIAgentServiceBuilder.

This method allows setting a ToolRegistry, which manages a collection of tools available for use by AI agents during their operation.

Return

The current instance of AIAgentServiceBuilder for fluent method chaining.

Parameters

toolRegistry

The ToolRegistry instance to be used by the agent service.