Match packages
match_packagesCheck installed packages against known vulnerabilities with ecosystem-native version comparison (distro backports included). Each package is a purl with version (pkg:npm/lodash@4.17.20, pkg:deb/debian/openssl@3.0.11-1~deb12u2?distro=bookworm), or name + ecosystem + version, or a CPE. Returns per package the matches, the smallest fixing version (upgradeTo) and CVEs with no fix (unfixed).
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": {
"packages": "<packages>"
},
"name": "match_packages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strict | No | true returns only version-confirmed matches. | |
| packages | Yes | At most your plan's batch size. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes |