# mcp.model.WaitForTextArgs

- **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#L131
- **Page:** https://libtmux.org/en/rs/latest/mcp/reference/mcp-model-waitfortextargs/

Arguments for waiting until a pane says something.

## Members

- `pane` (attribute): The `%`-prefixed pane to watch.
- `patterns` (attribute): Text that ends the wait successfully. Omit to wait for any output.
- `stop` (attribute): Text that ends the wait as a failure, reported as `stopped`. Omit for none.
- `regex` (attribute): Read both lists as regular expressions rather than literal text.
- `match_case` (attribute): Match case. Off by default.
- `seconds` (attribute): How long to wait, in seconds. Defaults to 30, capped at 600.
