Backplane.AgentRuntime.InputSchema (backplane_agent_runtime v1.6.0)

Copy Markdown

Small dependency-free validator for the runtime tool gateway.

The supported JSON Schema subset is deliberately strict and recursively checked before arguments are validated. Unsupported keywords therefore fail before a registered tool backend can be invoked, including keywords in an unused object property or composition branch.

Summary

Functions

validate(schema, input)

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