Get Edgeless Canvas
get_edgeless_canvasRetrieve the complete edgeless canvas layout, including positioned blocks and surface elements with coordinates, bounding box, and element counts, to understand the full layout before adding new items.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"docId": "<docId>"
},
"name": "get_edgeless_canvas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Document ID | |
| workspaceId | No | Workspace ID (optional if default set) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | ||
| bounds | Yes | ||
| exists | Yes | ||
| elementCounts | Yes | ||
| edgelessBlocks | Yes | ||
| surfaceBlockId | Yes | ||
| surfaceElements | Yes |