Scan Dependency File
scan_dependency_fileParse package.json or requirements.txt to check every dependency against OSV.dev and identify known vulnerabilities.
Instructions
Parse the raw contents of a package.json or requirements.txt file and check every listed dependency against OSV.dev.
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_type": "<file_type>",
"file_contents": "<file_contents>"
},
"name": "scan_dependency_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_type | Yes | ||
| file_contents | Yes |