set_text_style
Apply character formatting like font, size, bold, italic, underline, and color to the selected text in an HWP document.
Instructions
Set character formatting for the current selection.
Args: doc_id: Document ID from open_document font_name: Font name (e.g., "맑은 고딕") font_size: Font size in pt bold: Bold text italic: Italic text underline: Underline text color: Text color in hex (e.g., "#FF0000")
Returns: Style confirmation
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": {
"doc_id": "<doc_id>"
},
"name": "set_text_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bold | No | ||
| color | No | ||
| doc_id | Yes | ||
| italic | No | ||
| font_name | No | ||
| font_size | No | ||
| underline | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||