Explain a scan
explainScans a project, posts redacted findings to your configured local model, and returns plain-English scores and notes.
Instructions
A scan summarised in plain English by the local model the server is configured with (CODE_GUARDIAN_LLM_URL, not arguments). Use scan for the findings. Scans, then POSTs redacted findings to that one URL: the only tool using the network; it writes nothing. Returns scores, explanation, notes.
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": {
"path": "<path>"
},
"name": "explain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | Optional; default code-guardian.goal.toml. | |
| path | Yes | The project directory to read; must exist. |