Backplane.AgentRuntime.ToolRegistry (backplane_agent_runtime v1.6.0)

Copy Markdown

Versioned tool registry for Backplane agent runtime.

Summary

Types

t()

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

Functions

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()}