insert_paragraph_after
Insert a new paragraph after a given paragraph index in a Word document, with full formatting control including font, alignment, indentation, and line spacing.
Instructions
在指定段落之后插入新段落。
Args: file_path: 文档路径 after_index: 在此段落索引之后插入 (0-based) text: 新段落内容 font_name: 字体名称 font_size: 字号 (pt) is_bold: 是否加粗 alignment: 对齐方式 indent_first_line: 首行缩进字符数 line_spacing: 行距 (pt)
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>",
"after_index": "<after_index>",
"text": "<text>"
},
"name": "insert_paragraph_after"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| is_bold | No | ||
| alignment | No | LEFT | |
| file_path | Yes | ||
| font_name | No | SimSun | |
| font_size | No | ||
| after_index | Yes | ||
| line_spacing | No | ||
| indent_first_line | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |