Interface ToolRegistrySettings

ToolRegistrySettings

Description

Defines settings specific to the tool registry behavior within the ToolOrchestrator. These settings control how tools are managed, whether they can be added dynamically, and conceptual aspects of persistence.

interface ToolRegistrySettings {
    allowDynamicRegistration?: boolean;
    persistRegistry?: boolean;
    persistencePath?: string;
}

Properties

allowDynamicRegistration?: boolean

If true (default), tools can be registered or unregistered with the orchestrator after its initial initialization. If false, the set of available tools is fixed once the orchestrator is initialized.

persistRegistry?: boolean

If true (default: false), this conceptually indicates that the tool registry's state (e.g., list of dynamically registered tools, their versions) should be persisted to a durable store (e.g., database, configuration file). The actual persistence mechanism would be implemented within the ToolOrchestrator or a dedicated registry service. (Note: The current ToolOrchestrator uses an in-memory map).

persistencePath?: string

Optional. If persistRegistry is true, this string could specify the path, URI, or identifier for the persisted storage location or configuration. (Conceptual).