run_pr_gate_pipeline
When: a diff is ready for review. Gives: likely bugs in the added lines (with the diff line), risk score with every factor named, impacted areas, test cases to add, credentials added by the diff (BLOCK, masked previews), and with commit_message its Conventional Commits check. PASS / CONDITIONAL / BLOCK. Deterministic, no model call. Does not prove: that the change is correct; only a credential is a hard rule, the rest is triage.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"git_diff": "diff --git a/src/pay.js b/src/pay.js\n--- a/src/pay.js\n+++ b/src/pay.js\n@@ -0,0 +1 @@\n+const total = price * qty;\n"
},
"name": "run_pr_gate_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional PR title or description for richer analysis | |
| git_diff | Yes | Unified git diff (output of `git diff HEAD` or copied from GitHub diff view) | |
| commit_message | No | Checked against Conventional Commits; an invalid one makes the verdict CONDITIONAL at most. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sla | No | ||
| high | No | ||
| topBugs | No | ||
| critical | No | ||
| bugsFound | No | ||
| riskLevel | No | ||
| riskScore | No | ||
| disclaimer | No | ||
| impactAreas | No | ||
| inputFormat | No | ||
| notAnalysed | No | ||
| riskFactors | No | ||
| changedFiles | No | ||
| severityLevel | No | ||
| testCasesGenerated | No | ||
| mergeRecommendation | No |