Update one Workbench component
update_componentUpdate one Workbench component by id: re-run its install script to fetch the current version. Preview with dryRun; set confirm:true to apply, overwriting files and requiring write permission.
Instructions
Update one Workbench component in place by id: re-run its install script to fetch the current version (e.g. opencode re-runs the official installer; npm-mcps reinstalls the latest globals). It OVERWRITES the component's files, needs write permission, and can take minutes for global installs; the resolved version may change. Parameter semantics: component must be an id from describe_workbench; workspace defaults to ~/opencode-workbench; dryRun previews; confirm defaults to false — set confirm:true to apply. For the whole profile use apply_clone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Report the action without changing anything. | |
| target | Yes | The machine to operate on: this host (local) or a remote host over SSH (ssh). | |
| confirm | No | Set true to actually update. When absent, the call returns a preview and makes no changes. | |
| component | Yes | Component id from describe_workbench. | |
| workspace | No | Profile repo directory (used by components whose update needs it). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Component id acted on. | |
| code | Yes | Exit code of the action. | |
| action | Yes | What happened: removed, updated, already absent, or manual (no automated uninstall). | |
| output | Yes | Captured output (truncated). | |
| target | Yes | Label of the target. | |
| requiresConfirmation | No | True when the call returned a preview without acting; re-call with confirm:true. |