word_insert_paragraphs
Insert multiple new paragraphs after a specified paragraph ID in a .docx file. Supports tracked changes for collaborative editing.
Instructions
Insert new paragraphs after a given paraId
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_para_id": "<after_para_id>",
"texts": "<texts>"
},
"name": "word_insert_paragraphs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| texts | Yes | Text content for each new paragraph, in order | |
| file_path | Yes | Absolute path to the .docx file | |
| after_para_id | Yes | w14:paraId to insert the new paragraphs after | |
| track_changes | No | Record this edit as a tracked change (default: true) |