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.
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 |
|---|---|---|---|
| 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 |