Add Paragraph
add_paragraphInserts a new paragraph into a Word document, supporting custom text, style, font formatting, and colors.
Instructions
Add a paragraph 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_paragraph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Path to Word document | |
| text | Yes | Paragraph text content | |
| style | No | Optional paragraph style name | |
| font_name | No | Font family (e.g., 'Helvetica', 'Times New Roman') | |
| font_size | No | Font size in points (e.g., 14, 36) | |
| bold | No | Make text bold | |
| italic | No | Make text italic | |
| color | No | Text color as hex RGB (e.g., '000000') |