# mcp.model.CapturePaneArgs

- **Module:** mcp.model
- **Package:** tmux-mcp
- **Language:** Rust
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/tmux-mcp/src/model.rs#L263
- **Page:** https://libtmux.org/en/rs/latest/mcp/reference/mcp-model-capturepaneargs/

Arguments for reading a pane.

## Members

- `pane` (attribute): The `%`-prefixed pane id.
- `history` (attribute): Read the whole history rather than the visible screen.
- `last_command` (attribute): Return only the last command's output, when the shell marks its prompts.
- `start` (attribute): Start at this line. Zero is the top of the screen, negative is scrollback. Omit for the top of the screen, or of the scrollback with `history`.
- `end` (attribute): End at this line. Omit for the bottom of the screen.
