mcp.model.CapturePaneArgs.last_command
Rust
- Python Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
-
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.