# capture_pane

Source: https://libtmux.org/en/go/latest/mcp/tools/capture_pane/

> Read pane output; accepts no client-supplied executable input. Returned content may be sensitive or untrusted. Returns bounded pane content and a cursor.

MCP is in development

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

Read pane output; accepts no client-supplied executable input. Returned content may be sensitive or untrusted. Returns bounded pane content and a cursor.

[All Go tools](../) · [JSON](../capture_pane.json) · [Source](https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/mcp/manifest_catalog.go#L191)

## Arguments

* `history` optional · boolean

  include scrollback as well as the visible screen

* `max_lines` optional · integer

  maximum lines, keeping the newest

* `pane_id` required · string

  the pane id, such as %1

## Schemas

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