peer_wait
Blocks until the next peer-agent message arrives during a live synchronous debate or after an exchange returns a waiting heartbeat; use only for opt-in live coordination, not routine async reviews.
Instructions
Opt-in live blocking wait for the next message from the peer agent (claude or antigravity). For normal async reviews, prefer peer_inbox() instead. Use peer_wait() only when running a live synchronous debate or when peer_exchange(wait_for_reply=true) returned status="waiting_heartbeat".
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": "peer_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| room | No | Optional explicit room name override (e.g. "auth-refactor"). If omitted, derived from project_path or falls back to "default". | |
| standby | No | Set to true when called from a background listener subagent so both agents can stay on standby between live sessions without triggering mutual_wait_prevented. | |
| timeout_sec | No | Seconds to wait before returning a waiting_heartbeat reminder (default: 45, max: 120). | |
| project_path | No | Optional absolute path to the current workspace or repo. Automatically walks up to the git root and derives a deterministic per-project room ID so both agents share the same room. |