Explain a specific finding and how to fix it
explain_findingIdentify why a security rule fired and receive actionable remediation steps to resolve the vulnerability.
Instructions
Given a ruleId (and optionally the finding's path + preview), returns the reasoning ('why this matters') and a concrete remediation you can turn into a code change or an instruction to the user.
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": {
"ruleId": "<ruleId>"
},
"name": "explain_finding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | The file path where the finding fired. Optional, used for context in the response. | |
| ruleId | Yes | The rule id from a scan finding, e.g. 'stripe-secret-live'. | |
| preview | No | The masked preview from the finding. Optional, used verbatim in the response. |