word_format_text
Apply formatting to paragraphs in Word documents by providing paragraph IDs and formatting options like bold, italic, underline, font, size, and color.
Instructions
Apply run-level formatting (bold/italic/underline/font/size/color) to 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_format_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edits | Yes | Formatting to apply, per paragraph, in one pass | |
| file_path | Yes | Absolute path to the .docx file |