Format Text
format_textApply character formatting (bold, italic, color, highlight) or change case (upper, lower, title, sentence) to specific text ranges or matched substrings in Word documents.
Instructions
Apply character formatting or change case. formatting: bold, italic, underline, strike, font, size_pt, color, highlight and more (a wrong key lists all). case: upper|lower|title|sentence. Target: range={start,end}, find or both; one of formatting or case per call. find formats just that SUBSTRING: the run splits at the matched offsets, each fragment keeping its other formatting. A range without find takes whole paragraphs, mark included. Auto-backup; atomic save. Formatting is live-capable; case is file mode only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case | No | ||
| find | No | ||
| live | No | auto: file or live; force: live; off: refuse | auto |
| range | No | ||
| backup | No | ||
| file_path | Yes | ||
| formatting | No | ||
| occurrence | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||