Bootstrap a bare Linux host
bootstrap_hostProvision a bare Linux target end-to-end in one call: scan the platform from the kernel up and return a dry-run upgrade plan, install the latest stable OpenCode and record the resolved version, apply the VDD profile config, and verify parity. Pass help:true for full parameter documentation without contacting the target. Consent-gated: without confirm:true it returns a plan and changes nothing. Set upgrade:true (root/sudo) to run the platform upgrade; default is plan-only. Never reads or transmits secret values. Use it for a first-time provision of a bare host — do NOT also call inspect_target, plan_clone, apply_clone, or install_component for the same host and change; use those granular tools instead when you need step-by-step control of an existing profile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| help | No | Return parameter documentation and skip all target access. | |
| dryRun | No | Report only; make no changes. | |
| target | No | The machine to operate on: this host (local) or a remote host over SSH (ssh). | |
| confirm | No | Set true to actually provision. When absent, the call returns a plan and makes no changes. | |
| upgrade | No | Execute the platform upgrade (default false: plan only). | |
| skipRepo | No | Do not clone/update the profile repo on the target. | |
| assumeYes | No | Use non-interactive upgrade flags (default true). | |
| workspace | No | Target directory for the profile repo. | |
| components | No | Component ids to include; defaults to required+core. | |
| profileUrl | No | Override profile git URL. | |
| opencodeVersion | No | Pin a specific OpenCode version (default: latest stable). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| help | No | ||
| mode | Yes | ||
| result | No | ||
| confirm | No |