scan_with_baseline
Scan source code and compare against a saved baseline to identify new findings, reducing noise by filtering out previously detected issues.
Instructions
Scan code and compare against a saved baseline, returning only NEW findings that are not in the baseline. Use save_baseline first to create a baseline.
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": {
"code": "<code>"
},
"name": "scan_with_baseline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Source code to scan. | |
| language | No | Optional programming language hint. | |
| file_path | No | Optional file path for context. | |
| baseline_path | No | Path to the baseline file. Default: .guardianshield-baseline.json |