# mcp.model.CapturePaneArgs.last_command

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

Return only the last command's output, when the shell marks its prompts.

Answers far less than the history, because it starts where the last
command's output began. When the pane's shell does not mark its
prompts -- fish does, bash and zsh do not -- this reports
`marks: "absent"` and returns the visible screen instead.
