clear_formatting
Remove selected formatting types (bold, italic, underline, highlight, color, font) from paragraphs in a DOCX file. Optionally target specific paragraphs.
Instructions
Clear specific run-level formatting (bold, italic, underline, highlight, color, font) from paragraphs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the DOCX file. | |
| paragraph_ids | No | Paragraph IDs to clear formatting from. If omitted, clears from all paragraphs. | |
| clear_highlight | No | Remove highlight formatting. | |
| clear_bold | No | Remove bold formatting. | |
| clear_italic | No | Remove italic formatting. | |
| clear_underline | No | Remove underline formatting. | |
| clear_color | No | Remove font color. | |
| clear_font | No | Remove font family and size. |