Class ToolDescriptorRegistry

Assembly: redb.Route.Llm.Abstractions.dll

Default in-memory .

public sealed class ToolDescriptorRegistry : IToolDescriptorRegistry

Inheritance

Object→ToolDescriptorRegistry

Implements

Methods

All()

Snapshot of all currently registered descriptors.

public IReadOnlyList<ILlmToolDescriptor> All()

Get(string)

Returns a descriptor by capability name, or null if not registered.

public ILlmToolDescriptor? Get(string name)

Register(ILlmToolDescriptor)

Adds or replaces a descriptor in the registry.

public void Register(ILlmToolDescriptor descriptor)