create_document_from_spec
Generates a formatted HWPX document from a validated DocumentSpec payload, preserving the original structure and layout.
Instructions
Create an HWPX from a DocumentSpec v1 payload (validated template union; delegate).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| out_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |