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).
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. |