Format Text
format_textApply formatting styles to a specific text range within a paragraph in a Word document. Choose from bold, italic, underline, color, font size, or font name.
Instructions
Format a specific range of text within a paragraph.
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": {
"filename": "<filename>",
"paragraph_index": "<paragraph_index>",
"start_pos": "<start_pos>",
"end_pos": "<end_pos>"
},
"name": "format_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| paragraph_index | Yes | ||
| start_pos | Yes | ||
| end_pos | Yes | ||
| bold | No | ||
| italic | No | ||
| underline | No | ||
| color | No | ||
| font_size | No | ||
| font_name | No |