List Surface Elements
list_surface_elementsList all shape, connector, text, and group elements on the AFFiNE edgeless canvas. Returns parsed bounds and serialized fields, with optional filters by type or ID.
Instructions
List all shape/connector/text/group elements on the AFFiNE edgeless canvas surface. Returns raw xywh strings plus parsed {x,y,width,height} bounds, with Y.Text fields serialized to plain strings. Optional filters by element type or id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter by element type | |
| docId | Yes | Document ID | |
| elementId | No | Filter to a single element id | |
| workspaceId | No | Workspace ID (optional if default set) |