export_sarif
Export scan findings as SARIF 2.1.0 JSON for integration with GitHub Code Scanning, VS Code, and CI pipelines.
Instructions
Export scan findings as SARIF 2.1.0 JSON for GitHub Code Scanning, VS Code, and CI integration
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": {
"code": "<code>",
"language": "<language>"
},
"name": "export_sarif"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Source code to scan. | |
| engines | No | Analysis engines to use. | |
| language | Yes | Programming language. | |
| file_path | No | File path for SARIF locations. |