Rename Excalidraw canvas
rename_canvasRename a canvas file within an Excalidraw project by providing project path, old canvas path, and new canvas path. Updates the diagram location while keeping it in the same managed project.
Instructions
Renames a canvas inside the same managed project.
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": {
"projectPath": "<projectPath>",
"canvasPath": "<canvasPath>",
"newCanvasPath": "<newCanvasPath>",
"baseRevision": "<baseRevision>",
"mutationId": "<mutationId>"
},
"name": "rename_canvas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| canvasPath | Yes | Full workspace-relative canvas path under projectPath, for example designs/m3/main.excalidraw. Never pass only main.excalidraw. | |
| mutationId | Yes | ||
| projectPath | Yes | Full workspace-relative project path, for example designs/m3. | |
| baseRevision | Yes | ||
| newCanvasPath | Yes | Full workspace-relative canvas path under projectPath, for example designs/m3/main.excalidraw. Never pass only main.excalidraw. |