import_static_analysis
Import a SARIF 2.1.0 report to preserve immutable analysis artifacts and store source-scoped static candidates validated against a project root.
Instructions
Preserve one native SARIF 2.1.0 report and project bounded static candidates.
The native report remains an immutable analysis-result artifact. Static candidates are source-scoped analyzer output, not Findings or confirmation of runtime behavior.
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": {
"path": "<path>"
},
"name": "import_static_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | SARIF report path relative to the fixed project root, or an absolute path already inside it. | |
| sensitivity | No | internal | |
| source_root | No | Existing source directory relative to the fixed project root. Every normalized SARIF location is validated against this exact root. | . |
| exclude_paths | No | ||
| include_paths | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||