Run Until Unanimous
run_until_unanimousRun peer-review rounds among multiple AI models until unanimous READY or max rounds. Control lead peer selection, cost limits, and caller constraints.
Instructions
Generate or revise a draft and continue real API peer-review rounds until unanimous READY or the configured max_rounds is reached. v2.11.0: when caller is set to a peer id (claude|codex|gemini|deepseek|grok), the relator lottery activates: omit lead_peer to have the server randomly select a non-caller peer as relator (modeled on judicial colegiados), or supply an explicit lead_peer that is NOT the caller. An explicit lead_peer === caller is rejected at the server with caller_cannot_be_lead_peer — an agent never reviews itself (workspace HARD GATE).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ship | |
| task | Yes | ||
| peers | No | ||
| caller | No | operator | |
| evidence | No | ||
| lead_peer | No | ||
| max_rounds | No | ||
| max_cost_usd | No | ||
| review_focus | No | Optional provider-neutral review scope anchor. This is not Claude Code's /focus UI command; it is injected as a front-loaded Review Focus prompt block for every selected peer, including OUT OF SCOPE handling for unrelated findings. | |
| initial_draft | No | ||
| until_stopped | No | ||
| response_format | No | json | |
| reasoning_effort_overrides | No | Optional per-peer reasoning_effort overrides for this call. Keys are peer ids (codex|claude|gemini|deepseek|grok|perplexity); missing keys fall back to global config. Useful to dial down expensive peers (e.g. Grok grok-4.20-multi-agent xhigh = 16 agents, or Perplexity sonar-deep-research that bills citation + reasoning + search queries separately) for routine reviews without editing the host MCP configs. |