canvas_link_subpage
Convert a geo shape into a sub-canvas portal or re-point an existing portal to another tldraw page, rewriting its label and lineage pointer.
Instructions
Turn an existing geo rectangle into a nested sub-canvas portal, or re-point an existing portal at a different tldraw page. The target page must already exist (canvas_add_subpage creates pages). Rewrites the shape's "⤵ name" label and takes over the target page's lineage pointer.
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>",
"shape_id": "<shape_id>",
"target_page": "<target_page>"
},
"name": "canvas_link_subpage"
}
}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 | |
| shape_id | Yes | An existing geo shape to turn into (or re-point as) a portal | |
| target_page | Yes | Tldraw page the portal should open into (name or page record id) |