# capture_pane

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

> Read pane output; accepts no client-supplied executable input. Returned content may be sensitive or untrusted. Return a bounded slice of rendered pane text.

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. Return a bounded slice of rendered pane text.

[All Swift tools](../) · [JSON](../capture_pane.json) · [Source](https://github.com/libtmux/libtmux-swift/blob/254f8b2be7eb60cacc3ffcb3ea8e456784f582df/Sources/LibTmuxMCP/ToolOperation.swift#L4)

## Arguments

* `end` optional · integer

  Caller-controlled end.

* `joinWrapped` optional · boolean

  Caller-controlled joinWrapped.

* `maxLines` optional · integer

  Caller-controlled maxLines.

* `paneId` required · string

  Caller-controlled paneId.

* `start` optional · integer

  Caller-controlled start.

## Schemas

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