# Libtmux.Operations.capture

- **Module:** Libtmux
- **Package:** libtmux
- **Language:** OCaml
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/lib/libtmux.mli#L1074
- **Public owner:** Libtmux
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux-operations-capture/

```
val capture : unit -> Snapshot.t Command.t
```

Capture and validate the complete session/window-link/pane graph. The result records an acquisition interval, not an atomic server instant.

## Parameters

- `arg1` (`unit`)
