docx.styles_set
Sets the formatting of a document by applying the provided XML to styles for a given document ID, enabling custom look and feel.
Instructions
Set document styles
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": {
"docId": "<docId>",
"xml": "<xml>"
},
"name": "docx.styles_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | XML content | |
| docId | Yes | Document ID |