repl_expect
Blocks until a regex matches the prompt, session idles, child exits, or timeout, ensuring reliable mobile automation synchronization.
Instructions
Block until a prompt regex matches, the session idles, the child exits, or the timeout fires.
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": {
"id": "<id>"
},
"name": "repl_expect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| regex | No | ||
| idleMs | No | ||
| timeoutMs | No |