canvas_read
Reads a Roam canvas board to return its discourse nodes, placed blocks, typed relations, text/geo shapes, frames, images, sub-canvas portals, page nesting, and load warnings for inspection.
Instructions
Read a canvas: discourse nodes (Roam page uid, title, type, absolute position, containing frame), Roam blocks placed on the board, typed relations between them, text shapes, frames, images (with filename + URL), plain geo shapes and arrows, and nested sub-canvas portals (subpages: which page each portal opens into). Lists the board's tldraw pages with their nesting parent (parentPageId); on multi-page boards every item names its page. Returns warnings for records the Roam app would refuse to load. Optionally include raw tldraw records for specific shape ids.
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": {
"canvas": "<canvas>"
},
"name": "canvas_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph | No | Graph name or nickname. Auto-selects if only one graph is configured. | |
| canvas | Yes | Canvas page title (e.g. 'Canvas/My Map') or its 9-char page uid | |
| include_raw | No | Shape ids to also return as raw tldraw records |