Update Edgeless Block
update_edgeless_blockPartially update a note, frame, or edgeless-text block by ID: adjust position, size, or background. Unsupported properties appear under ignored.
Instructions
Partially update a note/frame/edgeless-text block by id. x/y/width/height merge with current prop:xywh (move without resizing, or vice versa). background replaces prop:background (AFFiNE token or {light, dark} hex object). Fields that don't apply to the block's flavour come back under ignored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | No | Workspace ID (optional if default set) | |
| docId | Yes | Document ID | |
| blockId | Yes | Block id (flavour affine:note/affine:frame/affine:edgeless-text). | |
| x | No | ||
| y | No | ||
| width | No | ||
| height | No | ||
| background | No | Note/frame only. Prefer `--affine-note-background-<color>` or `{light, dark}` hex. |