COA Deploy
coa_deployApply a deployment plan to a cloud environment to update schema and state. Requires explicit confirmation before executing.
Instructions
Apply a plan JSON to a cloud environment. Changes environment schema/state.
DESTRUCTIVE: modifies the deployed environment. Requires confirmed=true.
The plan file must exist (produced by coa_plan). Does NOT re-validate project contents — validates the plan structure only.
Args:
environmentID (string, required)
plan (string, required): path to coa-plan.json
profile, token (optional)
confirmed (boolean): must be true to execute
Returns: { command, exitCode, stdout, stderr, coaVersion }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | Path to the coa-plan.json produced by coa_plan. Must exist before calling. | |
| token | No | Coalesce refresh token override. Prefer ~/.coa/config over passing tokens through tool input. | |
| profile | No | Profile name in ~/.coa/config. Falls back to the COALESCE_PROFILE env var, then to COA's own default (`[default]`). | |
| confirmed | No | Set to true after explicit user confirmation. | |
| environmentID | Yes | Target environment ID to deploy into. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | No | ||
| stderr | Yes | ||
| stdout | Yes | ||
| command | Yes | ||
| exitCode | Yes | ||
| timedOut | Yes | ||
| coaVersion | Yes | ||
| jsonParseError | No | ||
| preflightWarnings | No |