canvas_delete
Delete shapes from a canvas by shape ID while automatically cleaning up attached relation arrows and bindings; underlying Roam pages are not removed.
Instructions
Delete shapes from a canvas by shape id. Attached relation arrows and bindings are cleaned up automatically. Does NOT delete the underlying Roam pages.
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_ids": "<shape_ids>"
},
"name": "canvas_delete"
}
}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_ids | Yes |