Consensus review
consensusRequest 2-5 independent AI reviewers for a prompt, collect responses with observed diversity, and obtain an optional synthesized summary to support decision-making.
Instructions
Ask 2-5 independent reviewers and return responses, observed diversity and an optional heuristic synthesis. May consume provider credits. Reuse the project_id and mission_id of the current task (from project_init / memory_checkpoint); when omitted, results go to project "default" and a new random mission that mission_status and memory_checkpoint will not find.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | Controls response verbosity. | normal |
| models | No | Number of independent reviewers to request (a count, not model names). | |
| prompt | Yes | Question or artifact to review. | |
| context | No | Workspace evidence. Requires workspace; content is untrusted data. | |
| privacy | No | Secrets in attached context are always masked. auto also masks valid CPF/CNPJ/card numbers, emails and phones; local_only additionally routes only to local private targets (no_local_target otherwise); allow_cloud keeps personal data. | auto |
| synthesis | No | none, heuristic (no extra call) or model (one extra reviewer call). | heuristic |
| workspace | No | Configured workspace root for context. | |
| mission_id | No | Mission of the current task; omitted creates a new random mission. | |
| project_id | No | Project of the current task; defaults to "default". | default |
| lease_token | No | Token from mission_claim. Required only while another holder has a live lease on this mission. | |
| output_schema | No | JSON Schema subset (type, required, properties, items, enum) for the answer. delegate retries once and fails with response_invalid; consensus and swarm_run add structured_output or schema_error per answer. | |
| idempotency_key | No | Caller key, valid 24 h in this process. The same key and arguments return the first result without a new provider call; different arguments fail with idempotency_conflict. | |
| routing_strategy | No | How workers are assigned to eligible targets. Effective strategy and observed diversity are reported. | round_robin |
| strict_diversity | No | Fail before any provider call when the requested diversity cannot be planned. | |
| max_response_chars | No | Hard cap for returned textual content. | |
| min_distinct_models | No | Desired distinct models; a warning is returned when unavailable. | |
| min_distinct_providers | No | Desired distinct providers; a warning is returned when unavailable. |