insert_paragraph
Insert a new paragraph after a specified paragraph in a Word document. Provide the paragraph ID and text content, optionally set a style like Heading1 or Normal.
Instructions
Insert a new paragraph after the paragraph with the given paraId.
Args: after_para_id: paraId of the paragraph to insert after. text: Text content for the new paragraph. style: Optional paragraph style name (e.g., "Heading1", "Normal").
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": {
"after_para_id": "<after_para_id>",
"text": "<text>"
},
"name": "insert_paragraph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| style | No | ||
| after_para_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |