Explain a scan finding
explain_findingExplains one type of finding from an AI App Medic scan in plain language: what it means, why it matters, and the specific fix steps this scanner recommends for apps built with Lovable, Bolt, Cursor, Replit, v0 and Supabase. Call this whenever the user asks what a scan finding, security header, RLS, CSP, exposed key, source map or similar issue means, even if they have not just run a scan. Pass the finding id shown in a scan result, for example hdr_content-security-policy, supabase_open_tables, secret_openai or sourcemaps. Common names like CSP, HSTS, RLS and openai also work. Pass list to see all ids. Works offline and does not scan anything.
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": {
"id": "<id>"
},
"name": "explain_finding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Finding id from a scan result, a common name such as "csp", or "list". |