Add Heading
add_headingAdd a heading to a Word document, setting level, font, bold, italic, or bottom border for section headers.
Instructions
Add a heading to a Word document with optional formatting.
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 | Path to Word document | |
| text | Yes | Heading text | |
| level | No | Heading level (1-9) | |
| font_name | No | Font family (e.g., 'Helvetica') | |
| font_size | No | Font size in points (e.g., 14) | |
| bold | No | Make heading bold | |
| italic | No | Make heading italic | |
| border_bottom | No | Add bottom border (for section headers) |