style_rename
Rename a style's display name or id in a .docx file while updating all references. Use dry-run to preview changes before applying them.
Instructions
Change a style's display name and/or id; references follow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Style id (default: from the name). | |
| doc | Yes | Path to the .docx. | |
| name | No | Display name. | |
| style | Yes | Style id or name. | |
| expect | No | ||
| dry_run | No | Preview only; write nothing. |