manage_style
Create, delete, or apply named paragraph or character styles in HWP documents. Specify document ID and action to control style formatting.
Instructions
Create, delete, or apply a named style.
Args: doc_id: Document ID from open_document action: "create", "delete", or "apply" style_name: Name of the style style_type: 0 = paragraph style, 1 = character style (for create) based_on: Base style name (for create)
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>",
"action": "<action>"
},
"name": "manage_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| doc_id | Yes | ||
| based_on | No | ||
| style_name | No | ||
| style_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||