get_docx_content
Retrieve editable DFM content from a DOCX file. Optionally, specify a block ID to return only a particular section.
Instructions
取得 docx 文件的可編輯 DFM 內容。
若指定 block_id,只回傳該區塊的內容;否則回傳完整 DFM。
Args: doc_id: 文件 ID(由 ingest_docx 產生) block_id: 可選,特定區塊 ID(如 p001, t001, h001)
Returns: DFM 內容或特定區塊資訊
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| block_id | No | ||
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |