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.
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. |