copy_style
Duplicate a document style by copying an existing style's properties to a new name, enabling reuse without altering the original.
Instructions
Deep-copy an existing style under a new name.
Args: source_name_or_id: Name or styleId of the style to copy. new_name: Name for the new style (spaces stripped for styleId).
Returns: {"style_id": str, "name": str, "type": str}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_name_or_id | Yes | ||
| new_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |