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

Copy Markdown View Source

The initialize response, sent by the agent with its capabilities and supported authentication methods.

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

Summary

Types

t()

@type t() :: %Raxol.AgentClientProtocol.Schema.AgentTypes.InitializeResponse{
  _meta: map(),
  agent_capabilities:
    Raxol.AgentClientProtocol.Schema.AgentTypes.AgentCapabilities.t() | nil,
  agent_info:
    Raxol.AgentClientProtocol.Schema.AgentTypes.Implementation.t() | nil,
  auth_methods:
    [Raxol.AgentClientProtocol.Schema.AgentTypes.AuthMethod.t()] | nil,
  protocol_version: Raxol.AgentClientProtocol.Schema.Version.t()
}

Functions

from_json(map)

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

new(protocol_version)

to_json(r)

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