sync
Update the project environment to match the lockfile, with options to upgrade dependencies or preview changes via dry-run.
Instructions
Synchronize the project environment.
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": "sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locked | No | Require the lockfile to remain unchanged. | |
| dry_run | No | Show changes without applying them. | |
| upgrade | No | Upgrade dependencies where possible. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |