add_canvas_node
Add a text, file, link, or group node to an Obsidian canvas, with automatic layout when no position is specified.
Instructions
Add a node (text/file/link/group) to a canvas. Auto-layout when position omitted.
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_path": "<canvas_path>",
"node_type": "<node_type>"
},
"name": "add_canvas_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| url | No | ||
| file | No | ||
| text | No | ||
| color | No | ||
| label | No | ||
| width | No | ||
| height | No | ||
| node_type | Yes | ||
| canvas_path | Yes |