cli_upgrade
Upgrade provider CLIs via native update mechanisms, using dry-run mode to preview plans before executing changes.
Instructions
Plan (dryRun, default true) or execute an upgrade for one provider CLI using its native update mechanism.
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": {
"cli": "<cli>"
},
"name": "cli_upgrade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cli | Yes | CLI to upgrade (claude|codex|gemini|grok|mistral|devin|cursor) | |
| dryRun | No | When true, return the upgrade plan without running it | |
| target | No | Package tag/version/target to install (default: latest) | latest |
| timeoutMs | No | Upgrade timeout in ms when dryRun=false |