audit_analyze_file
Analyze a single file for code security issues using AST parsing, function extraction, and vulnerability detection.
Instructions
对单个文件进行详细的代码安全分析,包括AST解析、函数提取和漏洞检测。
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": {
"filePath": "<filePath>"
},
"name": "audit_analyze_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | 要分析的文件路径 | |
| language | No | 指定编程语言 | auto |