Documentation Index
Fetch the complete documentation index at: https://docs.moda.app/llms.txt
Use this file to discover all available pages before exploring further.
Create a new design
When to use: The user wants something built from scratch — no source canvas, no template. “Make me a deck”, “create a LinkedIn post”, “generate a one-pager”.Tool call
Decisions before the call
| Question | How to answer |
|---|---|
| What is the user making? | Set format_category explicitly: slides, social, carousel, pdf, diagram, ui, other. Omitting it defaults to slides. |
| How many slides / panels? | State it in the prompt text (“10-slide deck”). No number_of_slides MCP parameter. For carousels use carousel_page_count (cap 5). |
| Which brand kit? | If whoami showed brand_kit_count == 1, just let the default apply. If > 1 and no session preference is set, ask the user. If they want unbranded, pass skip_brand_kit=true. |
| Are there reference materials? | Upload via upload_file(source_url=…) and pass {file_id, role: "source"|"reference"|"asset"} in attachments. For existing canvases as inspiration, use reference_canvas_ids. |
Returns
Task handle in milliseconds —task_id, canvas_id, canvas_url, conversation_id, status: "queued". Poll get_task_status(task_id) at retry_after_seconds until is_terminal == true. Once can_export == true, you can call export_canvas(canvas_id=…, format=…).
See also
../references/gotchas.md#format-and-dimensions—format_categorydefaults, carousel cap, slide-count placementedit-existing-canvas.md— when the user has an existing canvas to modifyfill-template.md— when there’s a source canvas to copy + customize