add_heading
Add structured headings to Word documents with customizable formatting options like font, size, bold, italic, and borders to organize content effectively.
Instructions
Add a heading to a Word document with optional formatting.
Args: filename: Path to Word document text: Heading text level: Heading level (1-9) font_name: Font family (e.g., 'Helvetica') font_size: Font size in points (e.g., 14) bold: Make heading bold italic: Make heading italic border_bottom: Add bottom border (for section headers)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| text | Yes | ||
| level | No | ||
| font_name | No | ||
| font_size | No | ||
| bold | No | ||
| italic | No | ||
| border_bottom | No |