peer_wait_until_complete
Wait for a peer turn to complete, returning its response or completion status once the turn finishes or the wait window expires.
Instructions
Quietly wait for a previously-started peer turn and return only when it completes or the wait window ends.
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": {
"peerId": "<peerId>",
"threadId": "<threadId>"
},
"name": "peer_wait_until_complete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peerId | Yes | ||
| turnId | No | ||
| threadId | Yes | ||
| maxResponseChars | No | ||
| waitWindowSeconds | No | Quiet wait window. Reaching it returns turnCompleted false, not a task failure. | |
| pollIntervalSeconds | No | Seconds between internal app-server reads while waiting. |