Create Custom Style
create_custom_styleCreate custom paragraph or character styles with specified formatting. Apply bold, italic, font, size, or color to a named style in a Word document.
Instructions
Create a custom style in the document.
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>",
"style_name": "<style_name>"
},
"name": "create_custom_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| style_name | Yes | ||
| bold | No | ||
| italic | No | ||
| font_size | No | ||
| font_name | No | ||
| color | No | ||
| base_style | No |