export_results
Export Semgrep scan results to JSON, SARIF, or text format for integration with other tools and reporting systems.
Instructions
Exports scan results in various formats
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": {
"results_file": "<results_file>",
"output_file": "<output_file>"
},
"name": "export_results"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results_file | Yes | Absolute path to JSON results file | |
| output_file | Yes | Absolute path to output file | |
| format | No | Output format (json, sarif, text) | text |