ogdynamic-canvas
Installation
SKILL.md
ogdynamic canvas skill
A canvas is a background Fill plus a tree of nodes (items), rendered to webp/png/jpeg. Edit it via the ogdynamic MCP tools; the same JSON hydrates losslessly in the web editor.
Full documentation: ogdynamic.com/docs — browse it when you need more detail: #canvases (tool workflow), #document-format, #image-urls (URL params & overrides), #renders.
Workflow
- Create —
list_templates, thencreate_canvaswithtemplate: {ident_name}(preferred; blank needswidth+height). - Read first —
get_canvasreturns the document plusoverride_fields. Always fetch before writing. - Edit —
update_canvas(alsoname,width,height,status: 1 = public, 2 = private).itemsreplaces the whole tree — send it complete, never a patch. - Serve — every canvas has a permanent
image_url:{OGDYNAMIC_URL}/c/{id}. Public canvases render directly:?{fieldId}=value&format=webp|png|jpeg&config[intent]=og|twitter(URL-encode values). Nevercreate_renderfor a public canvas. - Publish private canvases — a private URL 403s; one
create_renderpublishes it with overrides baked in. Renders are idempotent (SHA-256 of canvas + overrides) and track the live canvas — create a new one only for a different override set; checklist_rendersfirst.
Document format
Top level: width, height (px, 1–2048), background (Fill), items (nodes).