Get canvas
get_canvasRetrieve the contents of a canvas file from an Obsidian vault to inspect its nodes, edges, and layout for visualization or editing tasks.
Instructions
Get canvas file contents
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": {
"path": "<path>"
},
"name": "get_canvas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to canvas file (".canvas" may be omitted) | |
| vault | No | Vault name. May be omitted when only one vault is configured; see list_vaults. |