# Libtmux.Formats

- **Package:** libtmux
- **Language:** OCaml
- **Kind:** module
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/lib/libtmux.mli#L495
- **Public owner:** Libtmux
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux-formats/

```ocaml
module Formats
```

## Members

### Common operations

- [`lookup`](/en/ocaml/latest/reference/libtmux-formats-lookup/) (function): No I/O. Supply the version recorded by the acquiring client's `version` accessor. Unsupported catalog versions return an error. Native typed accessors remain the primary API; lookup does not acquire extra fields.

### Other members

- [`catalog`](/en/ocaml/latest/reference/libtmux-formats-catalog/) (function)
- [`Context`](/en/ocaml/latest/reference/libtmux-formats-context/) (module)
- [`describe`](/en/ocaml/latest/reference/libtmux-formats-describe/) (function)
- [`descriptor`](/en/ocaml/latest/reference/libtmux-formats-descriptor/) (struct): Metadata generated from pinned tmux format callbacks. `contexts` lists direct context dependencies, not a promise that a value exists. Caller variables from hooks and menus are outside this built-in catalog.
- [`Kind`](/en/ocaml/latest/reference/libtmux-formats-kind/) (module)
- [`observation`](/en/ocaml/latest/reference/libtmux-formats-observation/) (enum)
- [`scalar`](/en/ocaml/latest/reference/libtmux-formats-scalar/) (enum)
- [`state`](/en/ocaml/latest/reference/libtmux-formats-state/) (enum)
