Update quality gate
stride.update_quality_gatePatch a quality gate: name, criteria (set-replace JSON), and/or status (PENDING | PASSED | FAILED | BLOCKED). To recompute the verdict from live project metrics instead of setting status manually, use stride.run_quality_gate_check.
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": {
"qualityGateId": "<qualityGateId>"
},
"name": "stride.update_quality_gate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| status | No | ||
| criteria | No | Criteria the /check evaluator scores. Preferred: an array of { type, threshold, enabled? }. Types and units: pass_rate (percent 0-100 of executed results that passed, >= threshold), parity_pass_rate (percent 0-100 of behavioural-parity links passing, >= threshold; fails closed when unmeasured), max_critical_defects (count of open CRITICAL defects, <= threshold), min_test_coverage (percent 0-100 of in-scope stories/cases with a live test, >= threshold). An unknown type never passes, and so does a criterion without a threshold. A bare object is stored verbatim for legacy callers. | |
| qualityGateId | Yes | UUID of the quality gate. |