mcp.model.WaitForTextArgs
-
Arguments for waiting until a pane says something.
Fields6#
| Name | Type | Description |
|---|---|---|
| pane | String | The %-prefixed pane to watch. |
| patterns | Option<Vec<String>> | Text that ends the wait successfully. Omit to wait for any output. |
| stop | Option<Vec<String>> | Text that ends the wait as a failure, reported as stopped. Omit for none. |
| regex | bool | Read both lists as regular expressions rather than literal text. |
| match_case | bool | Match case. Off by default. |
| seconds | Option<u64> | How long to wait, in seconds. Defaults to 30, capped at 600. |