update_swift_package
Update Swift package dependencies in your project using Swift Package Manager, refreshing all packages or targeting a specific one with an optional branch, version, or revision.
Instructions
Updates the dependencies of your Swift project using Swift Package Manager.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_swift_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | The branch to resolve at (only applies when specificPackage is provided) | |
| version | No | The version to resolve at (only applies when specificPackage is provided) | |
| revision | No | The revision to resolve at (only applies when specificPackage is provided) | |
| specificPackage | No | Only update this specific package (leave empty to update all) |