Backplane.AgentRuntime.ToolRegistry (backplane_agent_runtime v1.10.6)

Copy Markdown

Versioned tool registry for Backplane agent runtime.

Summary

Functions

Delegates batch admission to the catalog boundary without changing single-tool registration semantics.

Types

t()

@type t() :: %Backplane.AgentRuntime.ToolRegistry{tools: map()}

Functions

admit_batch(registry, authority_or_opts)

@spec admit_batch(t() | [map()], map() | keyword()) ::
  {:ok, map()} | {:error, Backplane.AgentRuntime.Error.t()}

Delegates batch admission to the catalog boundary without changing single-tool registration semantics.

lookup(registry, name)

@spec lookup(t(), String.t()) ::
  {:ok, map()} | {:error, Backplane.AgentRuntime.Error.t()}

register(registry, descriptor)

@spec register(t(), map()) :: {:ok, t()} | {:error, Backplane.AgentRuntime.Error.t()}