COA Run (DML)
coa_runExecute DML (INSERT/MERGE) to populate selected nodes, modifying warehouse data. Requires explicit confirmation to proceed.
Instructions
Execute coa run — runs DML (INSERT/MERGE) to populate the selected nodes.
DESTRUCTIVE: modifies warehouse data. Requires confirmed=true.
Same pre-flight checks as coa_create. A V2_DETECTED preflight warning attaches for V2 projects but does not block execution (see coa_create for the V2 NOTICE). Uses a 30-minute timeout.
Args:
projectPath (string, required)
workspace, include, exclude (optional)
confirmed (boolean): must be true to execute
Returns: { command, exitCode, stdout, stderr, preflightWarnings?, coaVersion }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exclude | No | COA node selector to exclude. | |
| include | No | COA node selector, e.g., '{ STG_ORDERS }' or '{ location: "SRC" }'. See `coa describe selectors`. | |
| confirmed | No | Set to true after the user explicitly confirms. Without this, the tool returns a STOP_AND_CONFIRM response instead of executing. | |
| workspace | No | COA workspace name from workspaces.yml. Defaults to 'dev'. | |
| projectPath | Yes | Absolute or relative path to the COA project root (the directory containing data.yml). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | No | ||
| stderr | Yes | ||
| stdout | Yes | ||
| command | Yes | ||
| exitCode | Yes | ||
| timedOut | Yes | ||
| coaVersion | Yes | ||
| jsonParseError | No | ||
| preflightWarnings | No |