Backplane. AgentRuntime. InputSchema
(backplane_agent_runtime v1.10.4)
Copy Markdown
JSON Schema Draft 2020-12 boundary for MCP tool arguments.
JSONSchex owns schema semantics. This module keeps the runtime contract
deliberately small: MCP tool roots are objects, host-authored atom keys are
normalized without creating atoms, and external references are loaded only
through an explicitly supplied registry or loader.
Summary
Types
Functions
@spec validate(term(), term()) :: {:ok, map()} | {:error, Backplane.AgentRuntime.Error.t()}
@spec validate(term(), term(), options()) :: {:ok, map()} | {:error, Backplane.AgentRuntime.Error.t()}
@spec validate_schema(term()) :: :ok | {:error, Backplane.AgentRuntime.Error.t()}
@spec validate_schema(term(), options()) :: :ok | {:error, Backplane.AgentRuntime.Error.t()}