analyze_code
Detect 0day vulnerabilities in source files via 72+ research-calibrated patterns, returning structured candidates with CWE, priority, confidence, and data-flow anchors.
Instructions
Scan source files for 0day vulnerabilities using 72+ research-calibrated patterns. Returns structured candidate records with CWE, priority, confidence tiers, data-flow, and grounding anchors.
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": {
"filePaths": "<filePaths>"
},
"name": "analyze_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Filter patterns by language | |
| priority | No | Filter by priority level | |
| filePaths | Yes | Absolute file paths to analyze | |
| projectRoot | No | Optional workspace root directory | |
| minConfidence | No | Filter by minimum confidence |