save_baseline
Scan source code and save findings to a baseline file, so subsequent scans report only new issues not already documented.
Instructions
Scan code and save the findings as a baseline JSON file. On subsequent scans with scan_with_baseline, only NEW findings (not in the baseline) are reported.
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": "save_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. | |
| output_path | No | Path to save the baseline file. Default: .guardianshield-baseline.json |