IntelligenceX

API Reference

Class

ToolRegistry

Namespace IntelligenceX.Tools
Assembly IntelligenceX
Modifiers sealed

Registry for tools available to the model.

Inheritance

  • Object
  • ToolRegistry

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 1

Constructors

public ToolRegistry() #

Methods

public IReadOnlyList<ToolDefinition> GetDefinitions() #
Returns: IReadOnlyList<ToolDefinition>

Returns tool definitions for the registry.

Register 2 overloads
public Void Register(ITool tool) #
Returns: Void

Registers a tool.

Parameters

tool IntelligenceX.Tools.ITool requiredposition: 0
Tool instance.
public Void Register(ITool tool, Boolean replaceExisting) #
Returns: Void

Registers a tool with optional replacement.

Parameters

tool IntelligenceX.Tools.ITool requiredposition: 0
Tool instance.
replaceExisting System.Boolean requiredposition: 1
Replace an existing tool with the same name.
public Void RegisterAlias(String aliasName, String targetToolName, String? description = null, IReadOnlyList<String>? tags = null, Boolean replaceExisting = false) #
Returns: Void

Registers an alias for an already-registered tool.

Parameters

aliasName System.String requiredposition: 0
Alias name.
targetToolName System.String requiredposition: 1
Existing canonical or alias tool name to map to.
description System.String? = null optionalposition: 2
Optional alias-specific description override.
tags System.Collections.Generic.IReadOnlyList<System.String>? = null optionalposition: 3
Optional alias tags merged with canonical tags.
replaceExisting System.Boolean = false optionalposition: 4
Replace an existing registration that uses aliasName.
public Boolean TryGet(String name, out ITool tool) #
Returns: Boolean

Gets a tool by name.

Parameters

name System.String requiredposition: 0
tool IntelligenceX.Tools.ITool requiredposition: 1
public Boolean TryGetDefinition(String name, out ToolDefinition definition) #
Returns: Boolean

Gets a registered tool definition by name.

Parameters

name System.String requiredposition: 0
definition IntelligenceX.Tools.ToolDefinition requiredposition: 1

Properties

public IToolWriteGovernanceRuntime? WriteGovernanceRuntime { get; set; } #

Runtime authorizer used for write-intent tool calls.

public IToolWriteAuditSink? WriteAuditSink { get; set; } #

Append-only audit sink used to persist write authorization events.

public Boolean RequireWriteGovernanceRuntime { get; set; } #

When true, write-intent calls are rejected if no ToolRegistry.WriteGovernanceRuntime is configured.

public Boolean RequireWriteAuditSinkForWriteOperations { get; set; } #

When true, write-intent calls are rejected when no ToolRegistry.WriteAuditSink is configured.

public ToolWriteGovernanceMode WriteGovernanceMode { get; set; } #

Runtime mode for write-governance enforcement.

public Boolean RequireExplicitRoutingMetadata { get; set; } #

When true, registration rejects inferred routing metadata and requires explicit routing source.