word_edit_paragraphs
Edit specific paragraphs in a Word document by their paraId. Replace text in .docx files, optionally recording changes as tracked edits.
Instructions
Replace the text of specific paragraphs by 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>",
"edits": "<edits>"
},
"name": "word_edit_paragraphs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edits | Yes | List of paragraph edits to apply in one pass | |
| file_path | Yes | Absolute path to the .docx file | |
| track_changes | No | Record this edit as a tracked change (default: true) |