word_set_page_layout
Set page size, orientation, and margins for Word documents. Adjust dimensions precisely to meet formatting requirements.
Instructions
Set page size, orientation, and/or margins for a Word document
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width_pt | No | Page width, in points | |
| file_path | Yes | Absolute path to the .docx file | |
| height_pt | No | Page height, in points | |
| orientation | No | Page orientation | |
| margin_top_pt | No | Top margin, in points | |
| margin_left_pt | No | Left margin, in points | |
| margin_right_pt | No | Right margin, in points | |
| margin_bottom_pt | No | Bottom margin, in points | |
| margin_footer_pt | No | Footer margin, in points | |
| margin_gutter_pt | No | Gutter margin, in points | |
| margin_header_pt | No | Header margin, in points |