create_style
Create a new document style with specified name, type (paragraph, character, table, or numbering), and optional inheritance from an existing style or next paragraph style.
Instructions
Create a new style in the document.
Args: name: Style name (used as styleId after removing spaces). style_type: "paragraph", "character", "table", or "numbering". based_on: Optional styleId this style inherits from. next_style: Optional styleId applied to the next 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": {
"name": "<name>",
"style_type": "<style_type>"
},
"name": "create_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| style_type | Yes | ||
| based_on | No | ||
| next_style | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |