Get Edgeless Canvas
get_edgeless_canvasRetrieves all edgeless canvas blocks and surface elements with positions, counts, and bounding box to map layout before adding new elements.
Instructions
Read the full edgeless canvas: all edgeless-positioned blocks (notes, frames, edgeless-text) with their xywh, plus all surface elements (shapes, connectors, text, groups). Includes aggregate bounding box and per-type element counts. Use this when you need to understand canvas layout end-to-end before placing new elements.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Document ID | |
| workspaceId | No | Workspace ID (optional if default set) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| code | No | ||
| docId | No | ||
| error | No | ||
| bounds | No | ||
| exists | No | ||
| details | No | ||
| causeCode | No | ||
| retryable | No | ||
| elementCounts | No | ||
| edgelessBlocks | No | ||
| surfaceBlockId | No | ||
| surfaceElements | No | ||
| recoveryGuidance | No |