mcp.model.WaitForTextArgs
Rust
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
-
Arguments for waiting until a pane says something.
Members
-
The
%-prefixed pane to watch.
-
Text that ends the wait successfully. Omit to wait for any output.
-
Text that ends the wait as a failure, reported as
stopped. Omit for none.Give the failure markers you already know —
error:,Traceback— and a failed run returns at once instead of at the deadline.
-
Read both lists as regular expressions rather than literal text.
-
Match case. Off by default.
-
How long to wait, in seconds. Defaults to 30, capped at 600.