set_review_requirement
Set a thread's required-reviewer gate: define how many distinct approvals are needed to close, with optional send-back limits. Excludes owners and assignees to enforce separation of duties.
Instructions
Set (upsert) a thread's required-reviewers gate (G5): required_count distinct qualifying approvals before it can close. An approval qualifies when the reviewer is neither the owner nor the assignee (separation of duties) and, when a named reviewer set exists, is in it. A refutes edge also blocks close. max_rounds is how many send-backs one cycle allows before a person decides whether it goes around again (default 3; 0 leaves it uncapped). Omit max_rounds to leave the cap as it is. Tightening the cap needs thread:transition. Raising or removing it needs channel:admin. Requires thread:transition.
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": {
"thread_id": "<thread_id>",
"required_count": "<required_count>"
},
"name": "set_review_requirement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | ||
| max_rounds | No | send-backs allowed before a person decides (default 3, 0 is uncapped). Omit to leave the current cap. | |
| required_count | Yes | approvals needed (>= 0) |