Analyze a patch for root cause
patch_root_cause_analyzeCompare vulnerable and patched source files to infer vulnerability root cause from changed dangerous constructs and assess whether the fix is effective.
Instructions
Compare a vulnerable source file against a patched version and infer the root cause from the dangerous constructs that changed. Also emits a fix-effectiveness assessment. Line-based, heuristic.
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": {
"vulnerableFilePath": "<vulnerableFilePath>",
"patchedFilePath": "<patchedFilePath>"
},
"name": "patch_root_cause_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxBytes | No | Maximum bytes to read from the artifact. | |
| patchedFilePath | Yes | ||
| vulnerableFilePath | Yes | Path to the artifact, relative to the authorized workspace root. |