register_gate
Register the outcome of a review gate, including pass/fail/warn and findings, to update the gate session's status.
Instructions
Register that a review gate has been completed. Called by each agent after finishing its review. The gate result (pass/fail/warn) and any findings are recorded.
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": {
"session_id": "<session_id>",
"gate_name": "<gate_name>",
"result": "<result>"
},
"name": "register_gate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Identity of the reviewing agent | |
| result | Yes | Gate result: pass (no blockers), fail (blocking issues found), warn (non-blocking issues) | |
| findings | No | List of findings from the review | |
| metadata | No | Additional metadata (model used, duration, etc.) | |
| gate_name | Yes | Name of the gate/agent (e.g., "code-reviewer", "security-auditor") | |
| session_id | Yes | The gate session ID (from create_gate_session) |