wait_for_text
Wait for specified text to appear on the mainframe screen, or timeout after a set duration. Use to pause automation until expected content is visible.
Instructions
Block until pattern appears anywhere on screen or timeout elapses.
Args: pattern: Literal text to wait for (case-insensitive). timeout: Seconds to wait. Default 10.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pattern": "<pattern>"
},
"name": "wait_for_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |