Explain a finding
diffgate_explainGet a concise AI explanation for a DiffGate finding with a single LLM call, avoiding complex analysis loops.
Instructions
Get a concise AI explanation for a DiffGate finding. Faster than diffgate_deep_review — a single LLM call with no tool loops.
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": {
"finding": "<finding>",
"cwd": "<cwd>"
},
"name": "diffgate_explain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Repo root. Defaults to process.cwd(). | |
| finding | Yes | A finding object from diffgate_analyze. | |
| snippet | No | Code snippet around the finding. | |
| language | No | Language id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| explanation | Yes | A concise plain-language explanation of the finding. |