Update dependency
repository_manager_update_dependencyUpdate a pinned package version in pyproject.toml or requirements files. Specify the file, package, and new version, with optional dry-run validation before applying changes.
Instructions
Update a package's pinned version in a deps file (pyproject or requirements).
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": {
"file_path": "<file_path>",
"package_name": "<package_name>",
"new_version": "<new_version>"
},
"name": "repository_manager_update_dependency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| file_path | Yes | ||
| new_version | Yes | ||
| package_name | Yes |