review_patch
Analyze a git diff with optional context to return a code-review verdict, safety probability, severity score, and a confidence-gated action (auto-merge or human review).
Instructions
Code-review gate powered by Jev (System One decision model). Given a git diff and optional context, returns a verdict (approve / request_changes / needs_discussion), a safety probability, a severity score, a calibrated confidence, and an action (auto_merge / human_review). Only execute auto_merge on high confidence.
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": {
"diff": "<diff>"
},
"name": "review_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | Yes | The git diff or patch to review. | |
| context | No | Optional surrounding context (file purpose, PR description). |