kintsugi_scan_code
Scans inline code or file paths against verified AST and regex guardrails before writing or committing, catching known anti-patterns early.
Instructions
Deterministically scan a source snippet or file path against verified Kintsugi Golden Scars (AST + Regex) before writing or committing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "kintsugi_scan_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Inline source code to scan | |
| language | No | Optional language override (python, typescript, javascript, shell, markdown) | |
| file_path | No | Path on disk to scan (or virtual filename for language detection) |