Backplane.AgentRuntime.ToolCatalog (backplane_agent_runtime v1.8.3)

Copy Markdown

Validates complete, host-authored tool catalog revisions for a Conversation.

Catalog revisions are independent of descriptor revisions. Registry backends, authority, and backend contexts remain ephemeral; provider definitions use the canonical %{name:, description:, parameters:} shape.

Summary

Types

provider_tool()

@type provider_tool() :: %{
  name: String.t(),
  description: String.t(),
  parameters: map()
}

Functions

fence(update, run)

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

initial(opts)

@spec initial(keyword()) :: map()

receipt(catalog, status)

@spec receipt(map(), :staged | :published) :: map()

validate(update, current_revision, run)

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