Batch vulnerability scan (lockfile)
scan_vulnerabilities_batchScan many packages in one call — ideal for a whole lockfile. Pass a queries[] array (max 100) of { ecosystem, name, version? }; results are returned positionally aligned, one row per query, each with a count and a hydrated vulns[] array. Advisories are de-duplicated and hydrated across the batch. ecosystem is CASE-SENSITIVE (OSV spelling).
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": {
"queries": "<queries>"
},
"name": "scan_vulnerabilities_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queries | Yes | Up to 100 { ecosystem, name, version? } queries, ideal for a whole lockfile. |