update_deps
Re-reads lockfiles after package upgrades to update the dependency snapshot, preserving vulnerability history and flagging new vulnerabilities from upgraded packages.
Instructions
Update a monitored project's dependency snapshot after upgrading packages.
Re-reads lockfiles from the project directory and updates the stored dependency list. Preserves vulnerability history: existing known vulns that still apply are kept; new vulns from upgraded deps are flagged; vulns from removed deps are marked resolved.
Args: project_id: The project ID to update. project_path: Path to the project root. Defaults to current directory.
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": {
"project_id": "<project_id>"
},
"name": "update_deps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| project_path | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |