Check fixed versions and upgrade targets
check_fixed_versionsFind patched versions and unpatched advisories for a package ecosystem, with an optional installed version, and get the highest recommended upgrade target from OSV.dev.
Instructions
Query OSV.dev for a package and ecosystem (with optional current version) and return a clean summary of patched versions, unpatched advisories, and the highest recommended upgrade target.
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": {
"ecosystem": "<ecosystem>",
"package": "<package>"
},
"name": "check_fixed_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | Package name within the ecosystem (e.g. "lodash", "requests"). | |
| version | No | Optional currently installed version to inspect for upgrade targets (e.g. "4.17.20"). | |
| ecosystem | Yes | Package ecosystem (e.g. "npm", "PyPI", "Go", "crates.io", "Maven", "NuGet", "Packagist"). |