Check a project's dependencies
check_dependenciesCheck the libraries in a dependency file (Go, JavaScript, Python or Rust: go.mod, package-lock.json, poetry.lock, uv.lock, Cargo.lock and their manifests) against OSV.dev for known vulnerabilities. Pass the whole file. Returns the libraries to update, the version that fixes them and each vulnerability. Nothing about the file is kept.
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": {
"file": "<file>"
},
"name": "check_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | the whole contents of a dependency file: go.mod, package.json, package-lock.json, requirements.txt, pyproject.toml, poetry.lock, uv.lock, Pipfile.lock, Cargo.toml or Cargo.lock | |
| project | No | a name for the project, shown in the answer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| failed | No | ||
| fail_on | No | ||
| updates | No | ||
| projects | Yes | ||
| libraries | Yes |