Update Dependencies
depsonar_updateUpdate dependencies for supported project languages. Select patch, minor, or latest safety levels to manage risk, and use dry-run to preview changes.
Instructions
Update dependencies for a project. Works with any supported language.
Three safety levels:
patch: Bugfixes only (safest)
minor: New features, no breaking changes (default)
latest: Includes major breaking changes
Examples:
"Update all deps in JobPin"
"Update svelte in Showly to latest"
"Update my Python project dependencies"
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": "<project>"
},
"name": "depsonar_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | 'patch' (bugfixes), 'minor' (features, safe), 'latest' (major, review first) | minor |
| dry_run | No | Preview without changing anything. | |
| project | Yes | Project name (e.g. 'my-app') or full absolute path. | |
| packages | No | Space-separated packages to update. Leave empty for all. |