apply_node_patch
Apply declarative patches to one or multiple canvas nodes in a single call, covering style, text, rename, move, delete, duplicate, and layout changes. Use dry-run to preview projected modifications before committing.
Instructions
Executes a unified declarative patch list (setStyle, setText, rename, move, delete, duplicate, setLayout) against one or many canvas nodes with dry-run support.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true, returns projected changes without modifying the document. | |
| fileId | No | Optional target file ID. | |
| patches | Yes | List of patch mutations. |