Create and share a diagram
create_drawingPublish native canvas JSON and return its public URL, revision and PRIVATE editToken. Retain editToken for later edits and never show it with the shared link.
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": {
"title": "<title>",
"document": "<document>"
},
"name": "create_drawing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Public title (1–200 characters). | |
| document | Yes | Native editor document, not an exported local-backup wrapper. See get_drawing_format for field details and per-type examples. |