Raxol.AgentClientProtocol.Schema.AgentTypes.AgentCapabilities (Raxol Agent Client Protocol v0.1.0)

Copy Markdown View Source

Capabilities declared by the agent in the initialize response.

auth (AgentAuthCapabilities, carrying the optional logout leaf) is not in f1729; ported from the pinned v1.19.0 oracle schema (priv/schema-oracle/v1/schema.json, $defs/AgentCapabilities.auth + $defs/AgentAuthCapabilities) so that logout gates on auth.logout (see MethodTable's ORACLE-DIVERGENCE note). No upstream attribution for auth/AgentAuthCapabilities.

Ported from the MIT f1729/agent_client_protocol (c) 2025 f1729; see NOTICE.md.

Summary

Types

t()

@type t() :: %Raxol.AgentClientProtocol.Schema.AgentTypes.AgentCapabilities{
  _meta: map(),
  auth:
    Raxol.AgentClientProtocol.Schema.AgentTypes.AgentAuthCapabilities.t() | nil,
  load_session: boolean(),
  mcp_capabilities:
    Raxol.AgentClientProtocol.Schema.AgentTypes.McpCapabilities.t() | nil,
  prompt_capabilities:
    Raxol.AgentClientProtocol.Schema.AgentTypes.PromptCapabilities.t() | nil,
  session_capabilities:
    Raxol.AgentClientProtocol.Schema.AgentTypes.SessionCapabilities.t() | nil
}

Functions

from_json(map)

@spec from_json(term()) :: {:ok, t()} | {:error, term()}

new()

@spec new() :: t()

to_json(c)

@spec to_json(t()) :: map()