analyze_code_diff
Analyze Git diff content to detect code issues and security vulnerabilities, with optional language-specific security checks.
Instructions
Analyze specific code changes for issues and security vulnerabilities
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": {
"diff_content": "<diff_content>",
"file_path": "<file_path>"
},
"name": "analyze_code_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Programming language (auto-detected if not provided) | |
| file_path | Yes | Path of the file being analyzed | |
| diff_content | Yes | Git diff content to analyze | |
| include_security | No | Include security analysis (default: true) |