update_style
Update an existing InDesign style by editing its spec, renaming, basing on another style, or copying from an item or selection.
Instructions
Update an existing style definition (spec, basedOn, rename, or copy from an item).
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": {
"style": "<style>"
},
"name": "update_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | No | ||
| style | Yes | Existing style name | |
| basedOn | No | ||
| newName | No | ||
| styleKind | No | ||
| fromTarget | No | ||
| timeoutSec | No |