List Surface Elements
list_surface_elementsRetrieve all shape, connector, text, and group elements from an AFFiNE edgeless canvas surface, including raw xywh strings and parsed bounds. Filter by element 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 |
|---|---|---|---|
| workspaceId | No | Workspace ID (optional if default set) | |
| docId | Yes | Document ID | |
| type | No | Filter by element type | |
| elementId | No | Filter to a single element id |