# `Raxol.AgentClientProtocol.Schema.AgentTypes.AgentCapabilities`
[🔗](https://github.com/DROOdotFOO/raxol-agent/blob/raxol_agent_client_protocol-v0.1.0/packages/raxol_agent_client_protocol/lib/raxol/agent_client_protocol/schema/agent_types.ex#L1386)

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.

# `t`

```elixir
@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
}
```

# `from_json`

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

# `new`

```elixir
@spec new() :: t()
```

# `to_json`

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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
