get_fix_commands
Generate safe upgrade commands for vulnerable packages without applying them. Preview exact changes per ecosystem before running fixes.
Instructions
Get the safe upgrade commands for vulnerable packages WITHOUT executing them. Use this to show the user what will be changed before calling apply_fixes. Returns a list of commands grouped by ecosystem (npm, pip, go, cargo, Maven, Composer, Bundler).
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": {
"path": "<path>"
},
"name": "get_fix_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the project directory. | |
| packages | No | Optional: only return fix commands for these package names. If omitted, returns all fixable packages. | |
| severity_filter | No | Only return fixes for this severity or above. Default: all. |