sync_vulnerabilities
Update the local OSV vulnerability database for PyPI, npm, Go, or Packagist ecosystems to ensure dependency checks use current data.
Instructions
Sync the local OSV vulnerability database for a given ecosystem. Call this to update the cache before checking dependencies.
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>"
},
"name": "sync_vulnerabilities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packages | No | Optional list of package names to sync. | |
| ecosystem | Yes | Ecosystem to sync (PyPI, npm, Go, or Packagist). |