wait_for_reply
Waits for a target agent to finish its current turn by monitoring structured local session logs instead of screen scraping, with timeout and stall-warning detection.
Instructions
Wait for the target agent to finish its current turn by monitoring its structured local session log (no screen scraping).
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": {
"target": "<target>"
},
"name": "wait_for_reply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Target agent tabId or label. | |
| sessionPath | No | Optional explicit session file/directory path override. | |
| timeoutSeconds | No | Maximum seconds to wait before returning timeout. | |
| stallWarningSeconds | No | Return early with waiting_for_user if no log activity occurs for this many seconds (0 disables). |