add_styled_paragraph_docx
Add styled paragraphs or headings to .docx files with control over font, size, color, text effects, spacing, indents, and alignment. Use it to insert formatted content without manual Word editing.
Instructions
Menambahkan paragraf atau heading baru dengan opsi lengkap font, ukuran, warna, gaya teks, spasi, dan perataan ke file .docx
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>",
"text": "<text>"
},
"name": "add_styled_paragraph_docx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bold | No | ||
| text | Yes | ||
| color | No | ||
| italic | No | ||
| strike | No | ||
| all_caps | No | ||
| alignment | No | ||
| file_path | Yes | ||
| font_name | No | ||
| subscript | No | ||
| underline | No | ||
| list_style | No | ||
| small_caps | No | ||
| superscript | No | ||
| font_size_pt | No | ||
| line_spacing | No | ||
| heading_level | No | ||
| widow_control | No | ||
| keep_with_next | No | ||
| space_after_pt | No | ||
| highlight_color | No | ||
| line_spacing_pt | No | ||
| space_before_pt | No | ||
| underline_style | No | ||
| page_break_before | No | ||
| left_indent_inches | No | ||
| right_indent_inches | No | ||
| hanging_indent_inches | No | ||
| first_line_indent_inches | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |