wait_for_text
Waits for specific text patterns to appear in terminal output, enabling automation of prompts, loading states, and output monitoring.
Instructions
Wait until a regex pattern appears in the terminal buffer. Useful for waiting for prompts, loading states, or specific output.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session ID | |
| pattern | Yes | Regex pattern to search for in the terminal text | |
| timeout | No | Timeout in milliseconds (default: 5000) |