wait
Pauses automation until the IBM i host is ready for input, optionally matching specific screen text, so commands and sign-on steps finish before continuing.
Instructions
Wait until the host is waiting for input (and optionally for some text), e.g. after a long-running command or while the user signs on.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | wait until this text is on screen | |
| session | No | session name; lets you run several side by side | main |
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |