preview_current_hwp_document
Preview changes to a saved HWPX document without altering the original. Apply simple values for live fills or structural edits for complex updates.
Instructions
Preview the saved current .hwpx document pathlessly without writing it.
Pass values for small live fills OR edits (structural addressed edits)
for the complete_and_load route — never both. complete_and_load writes the
whole-template completion to a NEW verified file (optional output_path,
.hwpx, never the original) that apply opens as a new tab; the original
document stays untouched and the new path is always returned. Saved .hwp
returns preview_requires_hwpx; success returns the authoritative
preview_token for apply_to_current_hwp_document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | auto | |
| edits | No | ||
| values | No | ||
| output_path | No | ||
| candidate_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |