# LibTmux.Server.capabilities/2

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Elixir
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-elixir/blob/ce52194a746ce1d6785c352a731cff734e0d11ce/lib/libtmux/server.ex#L650
- **Page:** https://libtmux.org/en/elixir/latest/reference/libtmux-server-capabilities-2/

```
capabilities(server, options \\ [])
@spec capabilities(t(), [LibTmux.Capabilities.option()]) ::
        {:ok, LibTmux.Capabilities.t()}
        | {:error, LibTmux.Error.t()}
```

Observes named native tmux prerequisites without attaching or creating resources.

The bounded report contains the daemon's version and observed OS instance,
not the client executable's version. This descriptor remains unbound: a later
call can reach a replacement daemon. Reports do not authorize later mutations.
The `:borrowed_control` field reports `:qualified` or `:unverified` with the
reason. Older daemon builds can qualify through `:control_backport_sha256`.
Unknown release profiles and uncertain or changed evidence return an error.
The native [`list-commands`](/en/tmux/latest/manual/list-commands/) bootstrap must remain unaliased throughout the
call, without concurrent administrative changes. Discovery does not inspect
or repair that prerequisite. An owned private server supplies it by default.
Pass `native_commands: true` to retain the daemon's advertised command
names, aliases and usage in the same observation budget.
See `LibTmux.Capabilities` for pure checks and the native-primitive scope.

## Parameters

- `server` (`t()`)
- `options` (`[LibTmux.Capabilities.option()]`)
  Default: `[]`.
