pre_commit_safety_scan
Run safety scans on staged files, working-tree changes, or selected paths to detect vulnerabilities before committing, without requiring staging or committing.
Instructions
Run public-repo safety scans for staged files, working-tree changes, or selected paths without staging or committing anything.
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": {
"root": "<root>"
},
"name": "pre_commit_safety_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| root | Yes | Absolute configured allowed root. | |
| paths | No |