Review a diff
sbd_review_diffReview git changes by scanning added lines for secrets, PII, and PHI; use a git range for full checks or a unified diff for secret-only scans.
Instructions
Review a change. With range, runs the full check limited to lines that range adds. With diffText (a unified diff), scans the added lines for secrets only, because other checks need the surrounding file.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sbd_review_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | git range in the workspace, e.g. origin/main...HEAD | |
| diffText | No | ||
| manifestPath | No | Manifest path relative to the workspace root. Default privacy-security-manifest.yaml. |