Interface IToolDescriptorRegistry

Assembly: redb.Route.Llm.Abstractions.dll

Registry of tool descriptors available to the agent engine. Resolved by name at dispatch time.
Descriptors registered via DSL (.AsLlmTool(...) / LlmTool.Define(...)) and
the [ExposeAsLlmTool] attribute all land here.

public interface IToolDescriptorRegistry

Methods

All()

Snapshot of all currently registered descriptors.

IReadOnlyList<ILlmToolDescriptor> All()

Get(string)

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

ILlmToolDescriptor? Get(string name)

Register(ILlmToolDescriptor)

Adds or replaces a descriptor in the registry.

void Register(ILlmToolDescriptor descriptor)