debate_code_review
Runs a structured four-round debate between advocate, critic, and judge agents to review a specific file or change and produce consensus conclusions and action items.
Instructions
Start a debate-style code review for a specific file or change.
Creates a structured 4-round debate where:
Advocate defends the current implementation
Critic challenges the implementation and proposes improvements
Judge synthesizes findings into consensus conclusions and action items
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": {
"file_path": "<file_path>",
"change_description": "<change_description>"
},
"name": "debate_code_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| judge | No | Agent rendering the verdict (default: team-lead) | |
| critic | No | Agent challenging the implementation (default: code-reviewer) | code-reviewer |
| team_id | No | Team ID or name (optional, auto-uses active team if empty) | |
| advocate | No | Agent defending the implementation (default: backend-architect) | backend-architect |
| file_path | Yes | Path to the file being reviewed (relative or absolute) | |
| change_description | Yes | Brief description of what changed and why |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||