plus

operator fun plus(toolRegistry: ToolRegistry): ToolRegistry(source)

Combines the tools from this registry and the provided registry into a new ToolRegistry.

This method merges the tools from both registries, ensuring that each tool is included only once, based on its name.

Return

A new ToolRegistry containing the combined list of tools from both registries.

Parameters

toolRegistry

The other ToolRegistry whose tools will be merged with the current registry.