transition_thread
Advance a Maidan thread to review, closed, or archived while enforcing required-reviewer gates and unresolved refutes; no MCP bypass is allowed.
Instructions
Advance a thread's FSM state (start_review, close, or archive). The MCP twin of REST POST /threads/:id. Separation of duties, the required-reviewers close-gate, and unresolved refutes all apply identically — there is no MCP bypass. On a thread with a review requirement, start_review is refused until a result is posted (set_thread_result). Returns the updated thread.
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>",
"action": "<action>"
},
"name": "transition_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | start_review (open to in_review), close (in_review to closed) or archive (closed to archived). To send work back, use submit_review with request_changes | |
| thread_id | Yes |