create_diagram
Create a new empty diagram in a workspace or optional folder and return its ID. Use generate_diagram afterward to add content.
Instructions
Create a new empty diagram in a workspace, optionally inside a folder. Returns the new diagram's id. Use generate_diagram afterward to populate it with content. Use list_folders first to find the folder_id if you want to place it in a specific folder.
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": {
"workspace_id": "<workspace_id>",
"title": "<title>"
},
"name": "create_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | A short, descriptive title for the diagram (e.g. 'Auth Flow', 'System Architecture') | |
| folder_id | No | Optional folder UUID to place the diagram in. Use list_folders to find folder ids. Omit to create at workspace root. | |
| workspace_id | Yes | The workspace UUID to create the diagram in |