set_page_setup_docx
Configure Word .docx page layout, including paper size, orientation, margins, columns, gutters, page numbering, and mirror margins.
Instructions
Mengatur ukuran kertas (A4, Letter, F4/Folio, Legal, dll), orientasi, margin (cm/inci/preset: normal, narrow, skripsi), gutter, multi-kolom koran, restart nomor halaman, dan mirror margins
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "set_page_setup_docx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| gutter_cm | No | ||
| paper_size | No | ||
| orientation | No | ||
| columns_count | No | ||
| gutter_inches | No | ||
| margin_preset | No | ||
| page_width_cm | No | ||
| section_index | No | ||
| top_margin_cm | No | ||
| left_margin_cm | No | ||
| mirror_margins | No | ||
| page_height_cm | No | ||
| right_margin_cm | No | ||
| bottom_margin_cm | No | ||
| column_spacing_cm | No | ||
| page_number_start | No | ||
| page_width_inches | No | ||
| top_margin_inches | No | ||
| footer_distance_cm | No | ||
| header_distance_cm | No | ||
| left_margin_inches | No | ||
| page_height_inches | No | ||
| page_number_format | No | ||
| right_margin_inches | No | ||
| bottom_margin_inches | No | ||
| column_spacing_inches | No | ||
| footer_distance_inches | No | ||
| header_distance_inches | No | ||
| different_first_page_header_footer | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |