save_block
Save a selected block from an open HWP document to a file in formats like HWP, HWPX, HTML, or TEXT, enabling extraction of specific content.
Instructions
Save selected block to a file.
Args: doc_id: Document ID from open_document filename: Output file path format: File format ("HWP", "HWPX", "HTML", "TEXT", etc.) argument: Optional format-specific argument
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| format | No | HWP | |
| argument | No | ||
| filename | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||