Altar.ADM (Altar v0.1.2)
View SourceALTAR Data Model (ADM) – the universal contract layer for tools.
This namespace provides foundational, validated data structures shared by the LATER (local) and GRID (distributed) protocols. Construct values via the validating constructors exposed both on each struct module and as ergonomic pass-through helpers here.
Summary
Functions
Create a new FunctionCall
via validated constructor.
Create a new FunctionDeclaration
via validated constructor.
Create a new ToolConfig
via validated constructor.
Create a new ToolResult
via validated constructor.
Functions
@spec new_function_call(map() | keyword()) :: {:ok, Altar.ADM.FunctionCall.t()} | {:error, String.t()}
Create a new FunctionCall
via validated constructor.
@spec new_function_declaration(map() | keyword()) :: {:ok, Altar.ADM.FunctionDeclaration.t()} | {:error, String.t()}
Create a new FunctionDeclaration
via validated constructor.
@spec new_tool_config(map() | keyword()) :: {:ok, Altar.ADM.ToolConfig.t()} | {:error, String.t()}
Create a new ToolConfig
via validated constructor.
@spec new_tool_result(map() | keyword()) :: {:ok, Altar.ADM.ToolResult.t()} | {:error, String.t()}
Create a new ToolResult
via validated constructor.