format_text
Apply formatting to a specific text range in a Word document paragraph, including bold, italic, underline, font, color, and size adjustments.
Instructions
Format a specific range of text within a paragraph.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bold | No | ||
color | No | ||
end_pos | Yes | ||
filename | Yes | ||
font_name | No | ||
font_size | No | ||
italic | No | ||
paragraph_index | Yes | ||
start_pos | Yes | ||
underline | No |
Input Schema (JSON Schema)
{
"properties": {
"bold": {
"default": null,
"title": "Bold",
"type": "boolean"
},
"color": {
"default": null,
"title": "Color",
"type": "string"
},
"end_pos": {
"title": "End Pos",
"type": "integer"
},
"filename": {
"title": "Filename",
"type": "string"
},
"font_name": {
"default": null,
"title": "Font Name",
"type": "string"
},
"font_size": {
"default": null,
"title": "Font Size",
"type": "integer"
},
"italic": {
"default": null,
"title": "Italic",
"type": "boolean"
},
"paragraph_index": {
"title": "Paragraph Index",
"type": "integer"
},
"start_pos": {
"title": "Start Pos",
"type": "integer"
},
"underline": {
"default": null,
"title": "Underline",
"type": "boolean"
}
},
"required": [
"filename",
"paragraph_index",
"start_pos",
"end_pos"
],
"type": "object"
}