confirm_draft
Confirm a draft workflow to transition it from DRAFT to PENDING, making it executable. Optionally save the workflow as a reusable YAML template.
Instructions
[WRITE] Confirm a draft workflow — changes state from DRAFT to PENDING.
After confirmation, the workflow can be executed via run_workflow(). Optionally saves as a YAML template for future reuse.
Args: workflow_id: The draft workflow ID to confirm. save_as_template: If True, save to ~/.vmware/workflows/ for reuse.
Returns: Confirmed workflow summary. Call run_workflow() to execute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | ||
| save_as_template | No |