verify_fix
Rescans updated code to confirm a reported vulnerability is resolved, returning fixed, still_vulnerable, or new_issues with details.
Instructions
Verify that a specific security fix was applied correctly. Re-scans the updated code and checks if the target vulnerability (by rule ID) is resolved. Returns 'fixed', 'still_vulnerable', or 'new_issues' status with details.
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>",
"language": "<language>",
"ruleId": "<ruleId>"
},
"name": "verify_fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Updated code after applying the fix | |
| ruleId | Yes | Rule ID to verify (e.g. VG402) | |
| filePath | No | File path for context-aware analysis | |
| language | Yes | Programming language |