update
Update npm packages in a project to the latest semver-compatible version. Specify a package directory, optionally target specific packages, or use dry run to preview changes without applying them.
Instructions
Update packages in a project to their latest semver-compatible version
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": "update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the package directory | |
| dryRun | No | Preview updates without making changes | |
| global | No | Update global packages | |
| packages | No | Specific packages to update (empty = update all) |