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)
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": {
"filename": "<filename>",
"text": "<text>"
},
"name": "add_heading"
}
}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 |