explain_remediation
Explain a GuardVibe rule ID to get risk, exploit scenario, minimum fix, secure alternative, and test strategy, with optional code context.
Instructions
Pass a GuardVibe rule ID (e.g. VG154) to get a detailed explanation: risk assessment, exploit scenario, minimum fix, secure alternative, and test strategy. Optionally pass the affected code snippet for context-aware guidance. Example: explain_remediation({rule_id: 'VG402'})
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": {
"rule_id": "<rule_id>"
},
"name": "explain_remediation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Affected code snippet for context | |
| format | No | Output format | markdown |
| rule_id | Yes | GuardVibe rule ID (e.g. VG001, VG402) |