# tmux_capture

Source: https://libtmux.org/en/ruby/latest/mcp/tools/tmux_capture/

> Read exact-pane screen/history rows preserving LF. Defaults: 200 lines, 65536 bytes, zero history lines, track=false. Limits: 1000 lines/history, 262144 bytes. UTF-8 or base64; truncation is separate from unknown history continuity. Tracked process cursors require tmux>=3.3 and a native process identity backend: Linux peer pidfds with matching PID namespaces, or Darwin kqueue process observation. Continuation returns an exact state row splice, not a live-output journal. Refuses capture after-hooks.

MCP is in development

Server behavior and tool contracts may change. Tool availability depends on the server configuration.

Read exact-pane screen/history rows preserving LF. Defaults: 200 lines, 65536 bytes, zero history lines, track=false. Limits: 1000 lines/history, 262144 bytes. UTF-8 or base64; truncation is separate from unknown history continuity. Tracked process cursors require tmux>=3.3 and a native process identity backend: Linux peer pidfds with matching PID namespaces, or Darwin kqueue process observation. Continuation returns an exact state row splice, not a live-output journal. Refuses capture after-hooks.

**Policy:** opt in with --enable-tool tmux\_capture.

[All Ruby tools](../) · [JSON](../tmux_capture.json) · [Source](https://github.com/libtmux/libtmux-ruby/blob/e3815d2b35a6c663f20769231e1d22b565f87038/gems/libtmux-mcp/lib/libtmux/mcp/catalog.rb#L239)

## Arguments

This tool has no top-level named arguments. Consult its schema below.

## Schemas

The schema defines required fields, nested values, defaults, and validation constraints.
