Create Pipeline from Plan
create_pipeline_from_planExecute a pipeline by applying a previously approved plan from plan_pipeline. Confirm with a token to proceed.
Instructions
Create a Coalesce pipeline from a previously approved plan. Pass the exact plan object returned by plan_pipeline. Projection-capable node types execute by creating predecessor-based nodes first and then persisting the final full node body via set_workspace_node.
Args:
workspaceID (string, required): The workspace ID
plan (object, required): The exact plan object returned by plan_pipeline
confirmed (boolean, optional): Set to true after user approves the plan. Must be paired with confirmationToken
confirmationToken (string, optional): Token from prior STOP_AND_CONFIRM response. Required when confirmed=true
dryRun (boolean, optional): When true, validate without creating nodes
Returns: { created: boolean, nodes?: CreatedNode[], warnings?: string[] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | The plan object returned by plan_pipeline. | |
| dryRun | No | When true, validate the plan and return it without creating any nodes. | |
| confirmed | No | Set to true only after presenting the plan to the user and receiving explicit approval. Must be paired with the confirmationToken returned by the prior STOP_AND_CONFIRM response. | |
| workspaceID | Yes | The workspace ID | |
| confirmationToken | No | The token returned in the STOP_AND_CONFIRM response. Required when confirmed=true to prove the plan was presented to the user. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | ||
| error | No | ||
| dryRun | No | ||
| reason | No | ||
| created | No | ||
| warning | No | ||
| cancelled | No | ||
| nodeCount | No | ||
| incomplete | No | ||
| workspaceID | No | ||
| createdNodes | No | ||
| cleanupFailures | No | ||
| STOP_AND_CONFIRM | No | ||
| failedPlanNodeID | No | ||
| cleanupFailedNodeIDs | No |