Upgrade planner
upgrade_plannerGenerate a prioritized upgrade plan for a project's dependencies, showing per-package targets, lockfile fixes, and minimum versions that resolve vulnerabilities.
Instructions
Prioritized upgrade plan for one project (project_path): the 4DA app's work order when computed (per-line targets, manifest vs lockfile fix), else the smallest version that fixes each vulnerability. Call when the user asks what to upgrade.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upgrade_planner"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | No | Plan for this one package only (exact name, any ecosystem). Default: every dependency. | |
| include_dev | No | Dev-only packages (labelled isDev). Default (unset): vulnerable devDependencies and dev-only transitive packages are planned, as in vulnerability_scan; true also checks every devDependency for newer releases and deprecation; false leaves dev-only packages out and the summary counts them. | |
| project_path | No | Project directory to plan for: the app's plan is narrowed to the steps (and installed lines) that touch it; the standalone plan resolves that project's lockfiles. "*" for every project the app tracks. Default: the project the server was started in, when that directory is a project. | |
| risk_threshold | No | Only show upgrades at or above this risk level. Default: all | |
| max_recommendations | No | Max recommendations to return. Default: 20 |