copy_style
Duplicate an existing style to create a new one with a different name. Preserves all formatting properties of the original style.
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}
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": {
"source_name_or_id": "<source_name_or_id>",
"new_name": "<new_name>"
},
"name": "copy_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | ||
| source_name_or_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |