---
canonical_url: "https://docs.composio.dev/toolkits/imejis_io_mcp"
markdown_url: "https://docs.composio.dev/toolkits/imejis_io_mcp.md"
product: "platform"
version: null
last_updated: null
---

# Imejis.io MCP

Create, edit, render and share Imejis.io image designs, templates, carousels, fonts and render API keys through Imejis.io's official hosted remote MCP server.

- **Category:** model context protocol
- **Auth:** DCR_OAUTH
- **Composio-managed OAuth available?** No
- **Tools:** 73
- **Triggers:** 0
- **Slug:** `IMEJIS_IO_MCP`
- **Version:** 00000000_00

## Tools

### Activate api key

**Slug:** `IMEJIS_IO_MCP_ACTIVATE_API_KEY`

Re-enable a previously deactivated render API key by id, so it can authenticate render requests again. Reversible counterpart of deactivate_api_key. Get key ids from list_api_keys.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `keyId` | string | Yes | The API key id (the _id from list_api_keys). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `active` | boolean | No |  |

### Bulk export

**Slug:** `IMEJIS_IO_MCP_BULK_EXPORT`

Render MANY images in one call and get a URL for each — the bulk counterpart of get_stored_image_url. Four shapes, all via the same `items` array (up to 25 per call):
• SAME design, several SIZES — repeat the same `designId`, vary `variation` (ids from get_design_render_config).
• SAME design, different DATA — repeat the same `designId`, vary `overrides` (great for personalized/variant sets from one template).
• MULTIPLE designs — different `designId` per item.
• A CAROUSEL — one item per slide, in order; `results` preserves that order (result[i] ↔ items[i]), so the array IS the slide sequence. Slides may be the same design with different data, or different designs.
Formats: png | jpeg | webp | pdf, per item or via the request default. Every item is rendered with your "mcp-agent" render key and counts as one render against your quota (N items = N renders), exactly like calling get_stored_image_url N times. Request-level `delivery`/`format`/`quality`/`expiresIn` are defaults; any item may override `format`/`quality`/`variation`/`overrides`. The response is an order-preserving `results` array ({ index, designId, success, url | error, warnings? }) plus a `summary` — a failed item does not abort the others. For more than 25, split across calls.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `items` | array | Yes | The renders to produce (1-25). Same design across sizes → repeat designId with different variation; same design across data → repeat designId with different overrides; different designs → different designId. |
| `format` | string ("png" | "jpeg" | "webp" | "pdf") | No | Default output format for items that omit their own (default png). |
| `quality` | integer | No | Default JPEG quality for items that omit their own. |
| `delivery` | string ("hosted" | "signed") | No | URL type for every item: hosted = public (default); signed = private, expiring. |
| `expiresIn` | integer | No | signed only — link lifetime in minutes (default 60, max 7 days = 10080). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `results` | array | Yes |  |
| `summary` | object | No |  |
| `delivery` | string | No |  |

### Create api key

**Slug:** `IMEJIS_IO_MCP_CREATE_API_KEY`

Create a new render API key (dma-api-key) with a label. Returns the key record including its secret value; treat that value like a password. You usually do NOT need this: export_design, preview_design, and get_render_url each auto-provision and reuse a dedicated "mcp-agent" key for you. Create a separate key only when the user explicitly wants an additional named key, for example for a specific integration. List existing keys with list_api_keys; disable or remove old ones with deactivate_api_key or delete_api_key.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | A label for the key. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `key` | string | No |  |
| `name` | string | No |  |
| `active` | boolean | No |  |

### Create carousel

**Slug:** `IMEJIS_IO_MCP_CREATE_CAROUSEL`

Start one of the user's own carousels from a published carousel group. The group's slides are CLONED into it (so later changes to the group do not reach this carousel), with the group's prefilled content where it has any and empty values otherwise. Returns the new carousel and its slides; fill them in with update_carousel. Costs no render quota — nothing is rendered until you export.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | Name for the carousel (defaults to the group's name). |
| `groupId` | string | Yes | The carousel group id — either the Mongo `id` or the short `carouselGroupId` from list_carousel_groups. Both work. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No |  |
| `name` | string | No |  |
| `group` | object | No |  |
| `slides` | array | No |  |
| `carouselId` | string | No |  |
| `slideCount` | number | No |  |

### Create design

**Slug:** `IMEJIS_IO_MCP_CREATE_DESIGN`

Create a new blank v2 design (white background, no components) at the given canvas size. Returns the created design including its id. Use this to start from scratch, then add content with update_design (read get_design_guide first for the component format — give each layer a unique, meaningful `key` and a descriptive `properties.name`). To start from an existing layout instead, use create_design_from_template (a gallery or your own template) or duplicate_design (a copy of one of your designs).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Design name. |
| `width` | integer | Yes | Canvas width in px, up to 8,192. |
| `height` | integer | Yes | Canvas height in px, up to 8,192. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No |  |
| `_id` | string | No |  |
| `name` | string | No |  |
| `design` | object | No |  |

### Create design from template

**Slug:** `IMEJIS_IO_MCP_CREATE_DESIGN_FROM_TEMPLATE`

Create a new editable v2 design by copying a template. Returns the new design including its id; the original template is unchanged. Get template ids from list_templates (inspect one first with get_template). Use this to start from a designed layout; use create_design for a blank canvas, or duplicate_design to copy one of your own designs.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `templateId` | string | Yes | The template id to instantiate. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No |  |
| `_id` | string | No |  |
| `name` | string | No |  |
| `design` | object | No |  |

### Create design variation

**Slug:** `IMEJIS_IO_MCP_CREATE_DESIGN_VARIATION`

Add another SIZE (a "variation") to a design — e.g. a 1080x1920 Story next to a 1080x1080 master. A variation is linked to the master: it reuses the master's components and content and stores only per-size overrides, so editing the master still flows into every size that didn't diverge. This tool seeds those overrides for you by reflowing the master's layout to the new canvas (each component keeps its edge margins / centering and scales aspect-locked), which is why you should use it instead of hand-writing `variations` through update_design. Call it once per size you want. Afterwards, render that size by passing its returned `variationId` to export_design / preview_design / get_render_url / get_stored_image_url (any format, including pdf), and fine-tune its layout with update_design on the variation's `overrides`. The reflow is a starting point, not a design: check it with preview_design and adjust.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Label for this size, e.g. "Story" or "LinkedIn". |
| `width` | integer | Yes | Canvas width in px, up to 8,192. |
| `height` | integer | Yes | Canvas height in px, up to 8,192. |
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |
| `variationId` | string | No | The size's id, which is also its `?variation=` value — a slug. Generated from `name` when omitted. Prefer a conventional one so a render URL reads well: instagram-post, instagram-portrait, instagram-story, facebook-story, facebook-cover, linkedin-post, twitter-post, youtube-thumbnail, og-image, pinterest-pin, a4-poster. Must not be "master" or collide with an existing id. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No |  |
| `created` | boolean | No |  |
| `dimensions` | object | No |  |
| `variationId` | string | No |  |

### Create share link

**Slug:** `IMEJIS_IO_MCP_CREATE_SHARE_LINK`

Publish a design as a public page anyone with the link can open — no API key, no account. Returns the `publicId` and a ready-to-open `url`. The page is pinned to the design's newest published version (one is published for you if the design has none yet), so later edits do NOT change it until you sync. A design has at most one share link: if it already has one, this returns it unchanged (`created: false`) rather than minting a second. Different from get_render_url, which returns a key-bearing IMAGE url for programmatic rendering; this is a human-shareable page.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | Label for the link (defaults to the design's name). Shown to you, not a URL. |
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `created` | boolean | No |  |
| `shareLink` | object | No |  |

### Create template from design

**Slug:** `IMEJIS_IO_MCP_CREATE_TEMPLATE_FROM_DESIGN`

Turn one of your designs into a reusable TEMPLATE for the workspace, so anyone in it can start a new design from it with create_design_from_template. The template is pinned to the design's newest published version (one is published for you if it has none), so later edits to the design do not change it until you call sync_template. `scope` controls who sees it: "workspace" (default) = everyone in the workspace, "private" = only you. This does NOT put it in the public imejis gallery — that needs an admin review, which you ask for with submit_template_for_review. A design has at most one template; if it already has one this returns it unchanged.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `seo` | object | No | SEO you PROPOSE for the gallery. Advisory until an admin approves it — it never changes a live listing. |
| `name` | string | No | Template name (defaults to the design's name). |
| `tags` | array | No | Template tag ids to file it under (Mongo ids from your workspace's template tags). |
| `scope` | string ("workspace" | "private") | No | workspace (default) = anyone in the workspace may start from it; private = only you. |
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `created` | boolean | No |  |
| `template` | object | No |  |

### Deactivate api key

**Slug:** `IMEJIS_IO_MCP_DEACTIVATE_API_KEY`

Deactivate one of this account's render API keys by id, so render requests using it are rejected until it is re-enabled. Reversible: turn it back on with activate_api_key. Use this to pause or rotate a key (for example if it may have leaked) without deleting it. Get key ids from list_api_keys; delete_api_key removes a key permanently instead.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `keyId` | string | Yes | The API key id (the _id from list_api_keys). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `active` | boolean | No |  |

### Delete api key

**Slug:** `IMEJIS_IO_MCP_DELETE_API_KEY`

Permanently delete one of this account's render API keys by id. Any render URL or integration still using that key stops working immediately, and this cannot be undone. Confirm with the user first. Get key ids from list_api_keys. To rotate instead of losing access, create a replacement with create_api_key first, or disable the key reversibly with deactivate_api_key.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `keyId` | string | Yes | The API key id (the _id from list_api_keys). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `_id` | string | No |  |

### Delete carousel

**Slug:** `IMEJIS_IO_MCP_DELETE_CAROUSEL`

Delete one of the user's carousels and every slide value in it. The carousel group it was cloned from is untouched, and so is any design or image already exported from it. Not reversible — there is no version history for a carousel, unlike a design. Succeeds quietly if it is already gone.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `carouselId` | string | Yes | The carousel id — either the Mongo `id` or the short `carouselId` (the model’s `instanceId`) from list_carousels. Both work. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `success` | boolean | No |  |
| `carouselId` | string | No |  |

### Delete design

**Slug:** `IMEJIS_IO_MCP_DELETE_DESIGN`

Permanently delete a v2 design. This cannot be undone. Confirm with the user before deleting anything they created.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `designId` | string | Yes | The design id to delete (Mongo id or short render code). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No |  |
| `_id` | string | No |  |
| `name` | string | No |  |
| `design` | object | No |  |

### Delete design variation

**Slug:** `IMEJIS_IO_MCP_DELETE_DESIGN_VARIATION`

Remove one SIZE from a design. The master and every other size are untouched, and no component is deleted — a variation only ever holds per-size overrides. Confirm with the user before removing a size they created. To remove the base size you'd delete the design itself (delete_design).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |
| `variationId` | string | Yes | The size to remove (its id from get_design_render_config `variations`). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `deleted` | boolean | No |  |
| `variationId` | string | No |  |

### Delete file

**Slug:** `IMEJIS_IO_MCP_DELETE_FILE`

Permanently delete an uploaded image asset (also removes it from storage). This cannot be undone, and designs referencing its URL will stop rendering that image. Confirm with the user first.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fileId` | string | Yes | The file id to delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `_id` | string | No |  |

### Delete font

**Slug:** `IMEJIS_IO_MCP_DELETE_FONT`

Permanently delete one of the user's custom fonts. Designs using it as fontFamily will fall back to a default font at render time. Confirm with the user first.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fontId` | string | Yes | The custom font id to delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `_id` | string | No |  |

### Delete share link

**Slug:** `IMEJIS_IO_MCP_DELETE_SHARE_LINK`

Stop sharing a design publicly: the link is removed and its URL stops working for everyone who has it. The design itself, its versions and its template are untouched. This cannot be undone in the sense that matters — creating a share link again mints a NEW public id on purpose, so the old URL stays dead. Confirm with the user before taking down a page they shared.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `deleted` | boolean | No |  |
| `publicId` | string | No |  |

### Delete template

**Slug:** `IMEJIS_IO_MCP_DELETE_TEMPLATE`

Delete your template. The DESIGN is not deleted and neither are its versions — only its reusability as a starting point goes away, and anyone who already created a design from it keeps that design. A template that is live in the public gallery cannot be deleted until it is taken down (unlist_template first). Confirm with the user before removing a template their workspace may be using.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `deleted` | boolean | No |  |
| `templateId` | string | No |  |

### Duplicate design

**Slug:** `IMEJIS_IO_MCP_DUPLICATE_DESIGN`

Duplicate one of your v2 designs into a new independent copy named "<name> Copy" (fonts are recalculated from its components). Returns the new design including its id; the original is untouched. Use this before experimental edits, or to fork a variant. To instead start from a shared template, use create_design_from_template.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `designId` | string | Yes | The design id to duplicate (Mongo id or short render code). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No |  |
| `_id` | string | No |  |
| `name` | string | No |  |
| `design` | object | No |  |

### Export design

**Slug:** `IMEJIS_IO_MCP_EXPORT_DESIGN`

Render a design and return it as a viewable image. Renders with your dedicated "mcp-agent" render API key (provisioned automatically), each call counts against your render quota and shows up in get_api_usage, exactly like the render URL. Pass `overrides` to substitute dynamic fields for this render only (keys from get_design_render_config; nothing is stored). `format` selects the output image (png | jpeg | webp, default png) and `quality` sets JPEG quality; for a PDF, use get_render_url with ?format=pdf (a PDF is a document, not a viewable image here). Full resolution by default; for a quick visual check while editing prefer preview_design (smaller payload); for a shareable link use get_render_url. The result may include a `warnings` array flagging silent render degradations (a fontFamily with no attached font that fell back, or an override key that matched no component) — act on it to fix the design. Exporting MANY images at once — several sizes of one design, several data variants, a mix of different designs, or the ordered slides of a carousel — use bulk_export (one call, one URL per item) instead of calling this in a loop.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `format` | string ("png" | "jpeg" | "webp") | No | Output image format (default png). png = Lossless, supports transparency. Largest file. jpeg = Smaller, lossy, no transparency. Quality adjustable. webp = Smallest, supports transparency. Modern browsers. For PDF output use get_render_url with ?format=pdf. |
| `quality` | integer | No | JPEG quality 1-100 (only affects jpeg output). |
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |
| `overrides` | object | No | Dynamic-field overrides for this render. Each key addresses a FIELD of a dynamic component, as dot-paths ({ "title.text": "Hello", "title.color": "#ff0000" }) or nested ({ "title": { "text": "Hello" } }). A bare { "title": "Hello" } names no field and is ignored. Keys come from get_design_render_config `data.flatten`. |
| `variation` | string | No | Render a specific multi-dimension SIZE of the design by its variation id (from get_design_render_config `variations`). Omit or use "master" for the base size. |
| `maxDimension` | integer | No | Scale the result down so its longest side is <= this many px (never upscales). Applies to png/jpeg; webp is returned at full resolution. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `width` | number | No |  |
| `height` | number | No |  |
| `mimeType` | string | Yes |  |
| `warnings` | array | No |  |

### Fetch

**Slug:** `IMEJIS_IO_MCP_FETCH`

Fetch the full record for a `search` result id (prefixed `design:` or `template:`) as { id, title, text, url, metadata }, for ChatGPT/Deep-Research-style retrieval. `text` is a readable summary (size, components/tags, publication state); `url` is the item's public thumbnail when it has one. For the raw editable design document use get_design. Read-only.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | A `search` result id, e.g. "design:<id>" or "template:<templateId>". A bare id with no prefix is read as a design. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `url` | string | Yes |  |
| `text` | string | Yes |  |
| `title` | string | Yes |  |
| `metadata` | object | No |  |

### Get all quota usage

**Slug:** `IMEJIS_IO_MCP_GET_ALL_QUOTA_USAGE`

Get usage vs. limit for every quota in a workspace.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `workspaceId` | string | No | Workspace id. Omit to use the workspace bound to your token. |

### Get api usage

**Slug:** `IMEJIS_IO_MCP_GET_API_USAGE`

Get this account's render counts over time as time-bucketed totals, for analytics and trend checks. Every metered render (export_design, preview_design, and each hit of a get_render_url link) is counted here. Read-only; returns buckets across the requested range. This reports historical usage, not remaining quota or plan limits.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `end` | string | No | ISO-8601 upper bound. |
| `start` | string | No | ISO-8601 lower bound (default: last 7 days). |
| `groupBy` | string ("hour" | "day" | "week" | "month" | "year") | No | Bucket size (default day). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `total` | number | Yes |  |
| `buckets` | array | Yes |  |

### Get carousel

**Slug:** `IMEJIS_IO_MCP_GET_CAROUSEL`

Fetch one of the user's carousels with its slides IN ORDER and the field `values` filled in for each. The slides come back in exactly the shape update_carousel takes, so this is the read half of the read-modify-write edit. To render the carousel: create_design_from_template on each slide's `templateDesignId`, then one bulk_export with those designs in slide order and each slide's `values` as that item's `overrides` — bulk_export preserves order, so its results array is the slide sequence.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `carouselId` | string | Yes | The carousel id — either the Mongo `id` or the short `carouselId` (the model’s `instanceId`) from list_carousels. Both work. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No |  |
| `name` | string | No |  |
| `group` | object | No |  |
| `slides` | array | No |  |
| `carouselId` | string | No |  |
| `slideCount` | number | No |  |

### Get carousel group

**Slug:** `IMEJIS_IO_MCP_GET_CAROUSEL_GROUP`

Fetch one carousel group with its ordered slide templates — each slide’s role label, whether it is required or repeatable, and the `templateDesignId` that get_template inspects and create_design_from_template builds on. Read this before create_carousel when you need to know what the slides are for. The slide template DESIGNS are omitted on purpose (they are large); fetch one with get_template if you need its components.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `groupId` | string | Yes | The carousel group id — either the Mongo `id` or the short `carouselGroupId` from list_carousel_groups. Both work. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No |  |
| `name` | string | No |  |
| `slides` | array | No |  |
| `status` | string | No |  |
| `platform` | string | No |  |
| `dimension` | object | No |  |
| `slideCount` | number | No |  |
| `carouselGroupId` | string | No |  |

### Get credit balance

**Slug:** `IMEJIS_IO_MCP_GET_CREDIT_BALANCE`

Get a workspace's prepaid credit balance.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `workspaceId` | string | No | Workspace id. Omit to use the workspace bound to your token. |

### Get design

**Slug:** `IMEJIS_IO_MCP_GET_DESIGN`

Fetch one v2 design's full document by id: name, dimensions, background, the complete components array, and — on a multi-size design — its `variations`. This is the read step of an edit: get the design here, modify the returned `design` object, then send the whole thing back with update_design. KEEP `variations` in the object you send back: update_design replaces the whole document, so dropping the key deletes every size. For a design's render endpoint and overridable dynamic fields (not its components), use get_design_render_config; to see it as an image, use preview_design or export_design.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No |  |
| `_id` | string | No |  |
| `name` | string | No |  |
| `design` | object | No |  |

### Get design guide

**Slug:** `IMEJIS_IO_MCP_GET_DESIGN_GUIDE`

Get the imejis v2 design authoring guide: document structure, all 27 component types and their properties, dynamic fields, common canvas sizes, a complete example, and common mistakes. Read this BEFORE writing or editing design components (update_design). For the same information as structured data (property specs, defaults, ready-to-use sample designs, variants), use list_component_types.

### Get design publication

**Slug:** `IMEJIS_IO_MCP_GET_DESIGN_PUBLICATION`

Everything about how one design is exposed, in a single read: its share link (public id + ready-to-open URL), its template (id, scope, tags, proposed SEO), whether a gallery listing is live, and for each of those WHICH published version it serves plus how many versions the design has moved on since. This is the read to make before publishing or syncing — it answers "is this shared?", "is this a template?", "is the public seeing my latest?" without guessing. Returns nulls for the facets a design doesn't have.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `design` | object | No |  |
| `template` | string | No |  |
| `shareLink` | string | No |  |

### Get design render config

**Slug:** `IMEJIS_IO_MCP_GET_DESIGN_RENDER_CONFIG`

Get a design's render endpoint and its overridable dynamic fields ({ render, data: { pure, flatten }, variations? }). The endpoint takes a dma-api-key (header, query param, or body field) and accepts GET (query-param overrides, dot-paths for properties) or POST (the same overrides as a JSON body, better for long text/many fields). get_render_url returns it ready-to-use with a key attached. Only components marked dynamic in the design appear here as overridable fields. If the design has multi-dimension sizes, `variations` lists each one (id, name, dimensions, and a ready render URL) — pass a variation id to the render/export tools, or append ?variation=<id> to the endpoint, to render that specific size.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | No |  |
| `render` | string | No |  |

### Get design version

**Slug:** `IMEJIS_IO_MCP_GET_DESIGN_VERSION`

Read one published version in full, including its design `body` — the exact document that was live at that moment. The body is in the same shape update_design takes, so you can restore a version by hand (send its `body` as `design`) or diff it against the current document from get_design. To restore it the supported way, use rollback_design.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |
| `versionNumber` | integer | Yes | A version number from list_design_versions (1-based). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | object | No |  |
| `label` | string | No |  |
| `sizes` | number | No |  |
| `thumbnail` | string | No |  |
| `publishedAt` | string | No |  |
| `publishedBy` | string | No |  |
| `versionNumber` | number | No |  |
| `componentCount` | number | No |  |

### Get expiring credits

**Slug:** `IMEJIS_IO_MCP_GET_EXPIRING_CREDITS`

Get credits expiring within N days (default 7).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `days` | integer | No | How many days ahead to look. Default 7. |
| `workspaceId` | string | No | Workspace id. Omit to use the workspace bound to your token. |

### Get plans

**Slug:** `IMEJIS_IO_MCP_GET_PLANS`

Get the plan group available to a workspace (plans, prices, quotas).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `workspaceId` | string | No | Workspace id. Omit to use the workspace bound to your token. |

### Get quota usage

**Slug:** `IMEJIS_IO_MCP_GET_QUOTA_USAGE`

Get usage vs. limit for one quota in a workspace.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `quotaSlug` | string | Yes | The quota slug, e.g. "api-calls". |
| `workspaceId` | string | No | Workspace id. Omit to use the workspace bound to your token. |

### Get render entitlement

**Slug:** `IMEJIS_IO_MCP_GET_RENDER_ENTITLEMENT`

The account's render allowance as the imejis API itself computes it: plan id, whether it is the free plan, the current billing period and when the quota resets, renders used against the allowance, and `tier` — the COMPONENT TIER the plan entitles. Check `tier` before authoring with an advanced component type: a design may contain any type, but a type above the account's tier renders with an "upgrade to unlock" watermark drawn over it and the render still costs a quota unit. get_quota_usage and get_subscription answer the billing half from the account service; this one is the renderer's own view and the only place `tier` appears. Read-only.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `plan` | string | No |  |
| `tier` | number | No |  |
| `quota` | object | No |  |
| `isFree` | boolean | No |  |
| `planId` | string | No |  |
| `status` | string ("ok" | "no-plan" | "unavailable") | No |  |
| `workspaceId` | string | No |  |
| `quotaResetOn` | string | No |  |
| `currentPeriodEnd` | string | No |  |
| `currentPeriodStart` | string | No |  |

### Get render url

**Slug:** `IMEJIS_IO_MCP_GET_RENDER_URL`

Get a permanent, ready-to-use image URL for a design. The URL renders fresh on every request (nothing is stored) and works in <img> tags, emails, Zapier, etc. Optional `overrides` are baked into the URL as query params; consumers can also append their own (fields from get_design_render_config). `format` (png | jpeg | webp | pdf, default jpeg) and `quality` (JPEG 1-100) are baked in as ?format=/?quality= and can also be appended/changed by the consumer. The same endpoint also accepts POST with a JSON body of overrides and the dma-api-key as a header, better for long text or many fields (see `usage` in the result). Provisions/reactivates a dedicated "mcp-agent" render API key if none exists; the URL embeds that key, treat it like a secret; if it leaks, rotate it with create_api_key for a replacement, then deactivate_api_key or delete_api_key on the old one. For MANY images at once (sizes, data variants, multiple designs, or carousel slides), use bulk_export, which stores each render and returns an array of URLs in one call.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `format` | string ("png" | "jpeg" | "webp" | "pdf") | No | Output format baked into the URL as ?format= (default jpeg if omitted). |
| `quality` | integer | No | JPEG quality 1-100 baked in as ?quality= (jpeg only). |
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |
| `overrides` | object | No | Dynamic-field values to bake into the URL as dot-paths, e.g. { "title.text": "Hello", "title.color": "#ff0000" }. A bare { "title": "Hello" } addresses no field and is ignored. |
| `variation` | string | No | Bake a specific multi-dimension size into the URL as ?variation= (its variation id from get_design_render_config `variations`). Omit for the master/base size. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No |  |
| `dynamicFields` | array | No |  |
| `renderEndpoint` | string | No |  |

### Get storage usage

**Slug:** `IMEJIS_IO_MCP_GET_STORAGE_USAGE`

Total bytes stored and file count for the active workspace, counting only live (`ready`) stored exports. Display figures: storage is not capped and this is not a quota. For what the plan allows on RENDERS, call get_render_entitlement or get_quota_usage. Read-only.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fileCount` | number | No |  |
| `totalBytes` | number | No |  |

### Get stored export

**Slug:** `IMEJIS_IO_MCP_GET_STORED_EXPORT`

Fetch one stored export by its `exportId` — its status, format, delivery mode, size, URL and whether the link has expired. The single-record counterpart of list_stored_exports, and the poll endpoint for an export that is not `ready` yet. Read-only.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `exportId` | string | Yes | The export id from list_stored_exports (`exportId`). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No |  |
| `url` | string | No |  |
| `size` | number | No |  |
| `design` | object | No |  |
| `format` | string | No |  |
| `status` | string | No |  |
| `delivery` | string | No |  |
| `exportId` | string | No |  |
| `expiresAt` | string | No |  |
| `linkExpired` | boolean | No |  |

### Get stored image url

**Slug:** `IMEJIS_IO_MCP_GET_STORED_IMAGE_URL`

Render a design and STORE the image, returning a URL instead of raw bytes — for <img> tags, Slack/webhook image blocks, or emails that need a link. `delivery` picks the URL type: "hosted" (default) stores a public file and returns a public URL; "signed" stores a private file and returns a time-limited signed URL (`expiresIn` minutes, default 60, max 7 days = 10080). `format` (png | jpeg | webp | pdf, default png) and `quality` (JPEG 1-100) apply, and `overrides` substitute dynamic fields for this render (keys from get_design_render_config). Renders with your dedicated "mcp-agent" render key and counts as one render against your quota, exactly like export_design. Difference from get_render_url: that returns a URL that renders fresh on every hit with nothing stored; this stores the render once and returns a link to that stored file. The result may include a `warnings` array (font fallback / unknown override key) from the render. To store MANY at once — several sizes, several data variants, multiple designs, or carousel slides — use bulk_export (the batch version of this tool: one call returns a URL per item).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `format` | string ("png" | "jpeg" | "webp" | "pdf") | No | Output format (default png). |
| `quality` | integer | No | JPEG quality 1-100 (only affects jpeg output). |
| `delivery` | string ("hosted" | "signed") | No | hosted = public URL (default); signed = private, expiring URL. |
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |
| `expiresIn` | integer | No | signed only — link lifetime in minutes (default 60, max 7 days = 10080). |
| `overrides` | object | No | Dynamic-field overrides for this render — dot-paths ({ "title.text": "Hello" }) or nested ({ "title": { "text": "Hello" } }); a bare { "title": "Hello" } addresses no field and is ignored. Keys from get_design_render_config `data.flatten`. |
| `variation` | string | No | Render a specific multi-dimension size by its variation id (from get_design_render_config). Omit for the master/base size. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No |  |
| `format` | string | No |  |
| `delivery` | string | No |  |
| `warnings` | array | No |  |
| `expiresAt` | string | No |  |

### Get subscription

**Slug:** `IMEJIS_IO_MCP_GET_SUBSCRIPTION`

Get a workspace's subscription: plan, status, interval, seats.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `workspaceId` | string | No | Workspace id. Omit to use the workspace bound to your token. |

### Get template

**Slug:** `IMEJIS_IO_MCP_GET_TEMPLATE`

Fetch one template's full document by id (name, dimensions, components), to inspect it before building on it. Templates are read-only starting points; to build on one, use create_design_from_template, which copies it into a new editable design you own. Find template ids with list_templates. The design equivalent of this tool is get_design.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `templateId` | string | Yes | The template id. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No |  |
| `_id` | string | No |  |
| `name` | string | No |  |
| `design` | object | No |  |

### Get workspace

**Slug:** `IMEJIS_IO_MCP_GET_WORKSPACE`

Get one workspace: name, members, feature flags, quota snapshot.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `workspaceId` | string | No | Workspace id. Omit to use the workspace bound to your token. |

### List api keys

**Slug:** `IMEJIS_IO_MCP_LIST_API_KEYS`

List this account's render API keys (dma-api-key), paginated. Each entry includes the key id, name, active state, and the key value itself, so treat the result as secret. The "mcp-agent" key here is the one the render tools auto-provision and reuse. Use this to find or audit keys; create additional ones with create_api_key.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | 1-based page number (default 1). |
| `sort` | object | No | Sort spec, e.g. { "createdAt": -1 }. |
| `limit` | integer | No | Page size (default 10). |
| `filter` | object | No | Field filters, e.g. { "public": true }. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `docs` | array | No |  |

### List carousels

**Slug:** `IMEJIS_IO_MCP_LIST_CAROUSELS`

List the user's own carousels — the ones the imejis app shows under their carousels, each cloned from a published carousel group. Returns every carousel in the active workspace, newest first, as lean summaries (the group it came from, a slide count); get_carousel returns the per-slide values. To start a new one, call create_carousel.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `carousels` | array | Yes |  |

### List carousel groups

**Slug:** `IMEJIS_IO_MCP_LIST_CAROUSEL_GROUPS`

List the published CAROUSEL GROUPS available to start a carousel from — imejis-authored multi-slide sets, each with a platform, one canvas size for every slide, and an ordered list of slide templates. These are starting points, not the user’s own carousels: for those call list_carousels, and to start one call create_carousel. Returns lean summaries with a slide count; get_carousel_group has the per-slide detail. Only published groups are visible.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | 1-based page number (default 1). |
| `limit` | integer | No | Page size (default 10). |
| `orderBy` | string ("newest" | "oldest" | "name") | No | Sort order (default newest). |
| `platform` | string ("instagram" | "linkedin" | "twitter" | "facebook" | "custom") | No | Only groups for this platform. |
| `nameContains` | string | No | Case-insensitive substring match on the group name. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `groups` | array | Yes |  |

### List component types

**Slug:** `IMEJIS_IO_MCP_LIST_COMPONENT_TYPES`

The machine-readable component catalog, the same registry that powers the editor palette and www.imejis.io/components. Without `type`: a compact list of every component type (label, category, description, variant styles, how it is driven dynamically per render). With `type`: the full spec, every property with its value kind, allowed values, default and description, a ready-to-render sampleDesign (usable as-is with create_design/update_design), sampleOverrides for the render endpoint, and the property overrides for each variant. Complements the prose get_design_guide.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `type` | string | No | A component type (e.g. 'text', 'chart') for its full spec; omit for the compact catalog of all types. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `componentTypes` | array | No |  |

### List credit transactions

**Slug:** `IMEJIS_IO_MCP_LIST_CREDIT_TRANSACTIONS`

Get a workspace's credit transaction history (paginated).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | Page number, from 1. |
| `limit` | integer | No | Results per page, 1 to 100. |
| `workspaceId` | string | No | Workspace id. Omit to use the workspace bound to your token. |

### List designs

**Slug:** `IMEJIS_IO_MCP_LIST_DESIGNS`

List the authenticated user's own v2 designs as lean, paginated summaries (id, renderCode, name, dimensions, thumbnail, publication/draft state, updatedAt). Each row carries BOTH ids: `id` (the Mongo id) and `renderCode` (the short id a render URL uses) — every design tool accepts either. Use get_design for the full editable document, get_design_publication for a design's share link / template / gallery state. For starting-point layouts (gallery plus your own templates) rather than your designs, use list_templates.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | 1-based page number (default 1). |
| `limit` | integer | No | Page size (default 10). |
| `orderBy` | string ("newest" | "oldest" | "name") | No | Sort order (default newest). |
| `nameContains` | string | No | Case-insensitive substring match on the design name. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `designs` | array | Yes |  |

### List design versions

**Slug:** `IMEJIS_IO_MCP_LIST_DESIGN_VERSIONS`

List a design's published version history, newest first — version number, label, who published it, when, a thumbnail, and how many layers/sizes it held. The snapshot BODY is deliberately left out (it is a whole design document per row); read one with get_design_version. Use this to find the version number to pass to rollback_design or set_live_version.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | 1-based page number (default 1). |
| `limit` | integer | No | Page size (default 50, max 100). |
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `versions` | array | Yes |  |

### List files

**Slug:** `IMEJIS_IO_MCP_LIST_FILES`

List the authenticated user's uploaded image assets (paginated, lean summaries). Use a file's `url` as the `image` field of an image component (see get_design_guide).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | 1-based page number (default 1). |
| `limit` | integer | No | Page size (default 10). |
| `orderBy` | string ("newest" | "oldest" | "name") | No | Sort order (default newest). |
| `nameContains` | string | No | Case-insensitive substring match on the file name. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `files` | array | Yes |  |

### List fonts

**Slug:** `IMEJIS_IO_MCP_LIST_FONTS`

List the built-in global font families available to any text component. Use an EXACT `family` value from here as properties.fontFamily; unknown families silently fall back to a default font at render time. Results are sorted by family and capped at `limit` — check `total`/`truncated` in the response, and use `search` rather than assuming a family is absent because it isn't in the page you got back. Returns family, variants, and category. For the user's own uploaded fonts, use list_my_fonts (add new ones with upload_font).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | Max results (default 200). The catalog has well over 500 families; raise this to browse more, or use `search` to find a specific one anywhere in the catalog. |
| `search` | string | No | Case-insensitive family name filter. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fonts` | array | Yes |  |
| `total` | number | No |  |
| `truncated` | boolean | No |  |

### List my fonts

**Slug:** `IMEJIS_IO_MCP_LIST_MY_FONTS`

List the user's own uploaded custom font families. Returns each font's id, family, variants, and files; use its `family` as properties.fontFamily exactly like a built-in font from list_fonts. Add fonts with upload_font, remove them with delete_font (needs the id from here).

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fonts` | array | Yes |  |

### List render logs

**Slug:** `IMEJIS_IO_MCP_LIST_RENDER_LOGS`

List individual RENDER REQUESTS, newest first — one row per metered render (export_design, preview_design, each hit of a render URL, each bulk_export item), with whether it succeeded, the failure message when it did not, the design, and the API key that made the call. This is the forensic view: get_api_usage counts renders, this one says what each render did. Use it to answer "why did that render fail", "what is spending my quota", or "which key is still being used" — filter by `designId` or `apiKey` to narrow. Read-only.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | 1-based page number (default 1). |
| `limit` | integer | No | Page size (default 10). |
| `apiKey` | string | No | Only renders made with this API key id (ids from list_api_keys). |
| `designId` | string | No | Only renders of this design. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `logs` | array | Yes |  |

### List share links

**Slug:** `IMEJIS_IO_MCP_LIST_SHARE_LINKS`

List every share link in the workspace (paginated, newest first) with each one's public id, ready-to-open URL, which version it serves and how far its design has moved on since. Use it to audit what is public, or to find links that are behind their design. Design bodies are not included.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | 1-based page number (default 1). |
| `limit` | integer | No | Page size (default 20, max 100). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `shareLinks` | array | Yes |  |

### List stored exports

**Slug:** `IMEJIS_IO_MCP_LIST_STORED_EXPORTS`

List the STORED render exports — every image written to storage by get_stored_image_url, bulk_export, or a render URL with `?delivery=hosted|signed` — newest first, with its format, delivery mode, size, URL and `linkExpired`. Look here BEFORE re-rendering something: a hosted URL from last week is still valid and costs nothing, while a fresh render costs quota. Note that a `signed` row carries no stored URL (signed links are ephemeral and re-signed on demand), and `linkExpired: true` means the link is dead even when the object may still exist. Filter by design, format, delivery or status. Read-only.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | 1-based page number (default 1). |
| `limit` | integer | No | Page size (default 10). |
| `format` | string ("png" | "jpeg" | "webp" | "pdf") | No | Only exports in this output format. |
| `status` | string ("queued" | "processing" | "ready" | "failed" | "expired" | "deleted") | No | Only exports in this state. `ready` is a live stored object; `expired`/`deleted` were reaped. |
| `delivery` | string ("hosted" | "signed") | No | Only hosted (permanent public URL) or signed (expiring) exports. |
| `designId` | string | No | Only exports of this design. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `exports` | array | Yes |  |

### List templates

**Slug:** `IMEJIS_IO_MCP_LIST_TEMPLATES`

List templates available to the user, public gallery templates plus their own (paginated, lean summaries with thumbnail URLs). Each row carries `templateId` (the canonical nanoid to pass to create_design_from_template), `scope` (private = only you, workspace = anyone in the workspace), `tags`, `public` (true = in the admin-curated gallery), and `liveVersion`/`versionsBehind` (which published version it serves and how far its design has moved on). `format` is the document format tag ("v2"), not a version number. Use get_template for the full document, then create_design_from_template to start from one; make one of your own designs a template with create_template_from_design.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | 1-based page number (default 1). |
| `limit` | integer | No | Page size (default 10). |
| `orderBy` | string ("newest" | "oldest" | "name") | No | Sort order (default newest). |
| `nameContains` | string | No | Case-insensitive substring match on the template name. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `templates` | array | Yes |  |

### List template reviews

**Slug:** `IMEJIS_IO_MCP_LIST_TEMPLATE_REVIEWS`

List YOUR gallery review requests and their status — pending, review_started, revision_required, approved or rejected (with the reviewer's reason when there is one). Pass `designId` for one template's requests, or omit it and pass `type` for all of yours of that kind. This only ever shows requests you submitted; the admin queue is not readable here.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | 1-based page number (default 1). |
| `type` | string ("make_public" | "sync" | "delete") | No | Kind of request: make_public = asking to be listed, sync = asking to update a live listing, delete = asking to remove one. Defaults to make_public when no `designId` is given. |
| `limit` | integer | No | Page size (default 20). |
| `status` | array | No | Statuses to include (default: pending only). Pass several to widen, e.g. ["pending","approved","rejected"]. |
| `designId` | string | No | A design whose template's requests you want. Omit to list all of your requests of the given `type`. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `reviews` | array | Yes |  |

### List workspaces

**Slug:** `IMEJIS_IO_MCP_LIST_WORKSPACES`

List the authenticated user's workspaces (id, name, roles). On a connection pinned to a workspace, only that one.

### Preview design

**Slug:** `IMEJIS_IO_MCP_PREVIEW_DESIGN`

Render a small viewable preview image of a design (JPEG, longest side 512px by default). Use this to visually check your work after update_design, far fewer tokens than export_design, though it is the same render on the server and counts against your render quota the same way. Supports the same dynamic-field `overrides`. May include a `warnings` array (font fallback / unknown override key) — same signal as export_design. Nothing is stored.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |
| `overrides` | object | No | Dynamic-field overrides for this render — dot-paths ({ "title.text": "Hello" }) or nested ({ "title": { "text": "Hello" } }); a bare { "title": "Hello" } addresses no field and is ignored. Keys from get_design_render_config `data.flatten`. |
| `variation` | string | No | Preview a specific multi-dimension size by its variation id (from get_design_render_config). Omit for the master/base size. |
| `maxDimension` | integer | No | Longest side of the preview in px (default 512). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `width` | number | No |  |
| `height` | number | No |  |
| `mimeType` | string | Yes |  |
| `warnings` | array | No |  |

### Publish design

**Slug:** `IMEJIS_IO_MCP_PUBLISH_DESIGN`

Publish a design's current state as a new numbered version, with an optional `label`. Publishing makes the design's own renders serve that state and appends an immutable snapshot you can list (list_design_versions), inspect (get_design_version) and undo (rollback_design). You usually do NOT need this after update_design: an agent edit already publishes and takes a `label` of its own. Reach for it to (a) promote a draft a human left in the editor, (b) mark a checkpoint before risky edits, or (c) publish a body you restored with rollback_design. NOTE: this does not change what a share link or template shows — those serve a PINNED version; move them with update_share_link / sync_template / set_live_version.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `label` | string | No | Short note for this version, e.g. "Before the rebrand" or "Q4 pricing". |
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `design` | object | No |  |
| `version` | object | No |  |
| `published` | boolean | No |  |

### Rollback design

**Slug:** `IMEJIS_IO_MCP_ROLLBACK_DESIGN`

Restore an earlier version into the design's DRAFT. History stays append-only — nothing is rewritten and no version is deleted. IMPORTANT: this does not change any rendered output on its own, because renders read the PUBLISHED body; follow it with publish_design to make the restored state live (that appends a new version, it does not rewind the counter). It also OVERWRITES any unpublished draft, including edits a human has in the editor right now — confirm with the user before rolling back. To change only what the public sees, leaving the draft alone, use set_live_version instead.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |
| `versionNumber` | integer | Yes | A version number from list_design_versions (1-based). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `nextStep` | string | No |  |
| `restored` | boolean | No |  |
| `intoDraft` | boolean | No |  |
| `versionNumber` | number | No |  |

### Search

**Slug:** `IMEJIS_IO_MCP_SEARCH`

Search the account's designs and the templates it can see (its own plus the public gallery) by a free-text query, returning lightweight hits ({ id, title, url }) for ChatGPT/Deep-Research-style retrieval. Each `id` is prefixed `design:` or `template:`; pass it to `fetch` for the full record. For the account's own designs with editable documents use list_designs/get_design; for starting-point layouts use list_templates. Read-only.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `query` | string | Yes | Free-text query matched against design and template names. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `results` | array | Yes |  |

### Set live version

**Slug:** `IMEJIS_IO_MCP_SET_LIVE_VERSION`

Make a SPECIFIC earlier version the one the public sees — the public-facing rollback. Points a share link or your template at that version without touching the design, its draft, or its history: renders of the design itself are unaffected, and nothing new is published. Use it to undo what visitors see immediately, then fix the design properly afterwards. Version numbers come from list_design_versions. A template that is live in the public gallery cannot be repointed this way (the gallery serves an admin-approved version) — the call is refused and tells you to submit a sync for review instead.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `facet` | string ("link" | "template") | Yes | Which public face to move: "link" = the share page, "template" = your template. |
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |
| `versionNumber` | integer | Yes | A version number from list_design_versions (1-based). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `facet` | string | No |  |
| `updated` | boolean | No |  |
| `template` | object | No |  |
| `shareLink` | object | No |  |
| `versionNumber` | number | No |  |

### Submit template for review

**Slug:** `IMEJIS_IO_MCP_SUBMIT_TEMPLATE_FOR_REVIEW`

Ask an imejis admin to list your template in the PUBLIC gallery, where anyone can start a design from it. Submission pins the version the reviewer will judge, so publishing more versions while you wait does not change what they see. Nothing becomes public until they approve — your own template keeps working either way, and you cannot approve it yourself. Returns the request id and status; follow it with list_template_reviews. The design must already be a template (create_template_from_design). Reviews are decided by admins in the imejis dashboard, not here.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `review` | object | No |  |
| `submitted` | boolean | No |  |
| `templateId` | string | No |  |

### Sync template

**Slug:** `IMEJIS_IO_MCP_SYNC_TEMPLATE`

Point your template at the design's newest published version, so new designs started from it pick up your latest edits (a template serves a PINNED version, so edits are invisible until this runs). Its id, tags and SEO are kept. If the template is live in the public GALLERY, nothing goes live here: a sync request is submitted for admin review instead and the gallery keeps serving the approved version until they decide — the result says which of the two happened.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `review` | object | No |  |
| `synced` | boolean | No |  |
| `template` | object | No |  |
| `pendingReview` | boolean | No |  |

### Unlist template

**Slug:** `IMEJIS_IO_MCP_UNLIST_TEMPLATE`

Take your own template OFF the public gallery. No review needed — review exists to protect the gallery from what goes up, not to keep your work on it. Your own template keeps working for your workspace, the approval record is kept, and any review request still queued for the listing is dropped. Re-listing it later needs a fresh submit_template_for_review. Confirm with the user first.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `template` | object | No |  |
| `unlisted` | boolean | No |  |

### Update carousel

**Slug:** `IMEJIS_IO_MCP_UPDATE_CAROUSEL`

Rename a carousel and/or set its slide values. `slides` REPLACES the whole array — exactly like update_design replaces a design document — so read with get_carousel, change what you need, and send every slide back, keeping each one's `slideTemplateId` and `templateDesignId`. Sending a shorter array deletes the slides you left out. Omit `slides` to rename only. Each slide's `values` are keyed like render overrides ({ "headline.text": "..." }); a bare field name addresses nothing, same rule as a render.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | New name for the carousel. |
| `slides` | array | No | The COMPLETE ordered slide array, replacing what is stored. Omit to leave the slides untouched. |
| `carouselId` | string | Yes | The carousel id — either the Mongo `id` or the short `carouselId` (the model’s `instanceId`) from list_carousels. Both work. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No |  |
| `name` | string | No |  |
| `group` | object | No |  |
| `slides` | array | No |  |
| `carouselId` | string | No |  |
| `slideCount` | number | No |  |

### Update design

**Slug:** `IMEJIS_IO_MCP_UPDATE_DESIGN`

Update a v2 design's name and/or its full document. Your edit goes LIVE immediately: an agent write is published (not left as a draft) and appends a version snapshot you can label with `label`, list with list_design_versions and undo with rollback_design. Read-modify-write: call get_design first, modify the returned `design` object, and send the WHOLE object back, the API replaces the document and requires dimensions, background, and components together. Components use the imejis v2 format (call get_design_guide for the authoring spec). Give every component a unique, meaningful `key` (its render-override handle) and a descriptive `properties.name` (its label in the editor's Layers panel); use `visible`/`locked` flags as needed. Fonts are recalculated automatically from text components. REPLACES means replaces: if the design has `variations` (extra sizes) you must send them back unchanged, or every size is deleted — to ADD a size use create_design_variation, which reflows the master for you, rather than hand-writing overrides here. Verify the result visually with preview_design (or export_design for full resolution).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | New design name. |
| `label` | string | No | A short note for the version this edit publishes, e.g. "Swap headline to Q4 copy". Shows up in list_design_versions and in the editor history. Ignored when only `name` changes (no new version is published). |
| `design` | object | No | The full design document: { dimensions, background, components, variations? }. The first three are required together; `variations` is only for round-tripping a multi-size design. |
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `design` | object | No |  |
| `updated` | boolean | No |  |

### Update share link

**Slug:** `IMEJIS_IO_MCP_UPDATE_SHARE_LINK`

Rename a design's share link and/or point it at the design's newest published version (`syncToLatestVersion: true`) — that second one is what makes recent edits visible on the public page, since a link serves a PINNED version. The public id and the URL never change, so a link already out in the world keeps working and keeps its view history. To go back to an older version instead, use set_live_version.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | New label for the link. |
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |
| `syncToLatestVersion` | boolean | No | true = serve the design's newest published version from now on. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `synced` | boolean | No |  |
| `updated` | boolean | No |  |
| `shareLink` | object | No |  |

### Update template

**Slug:** `IMEJIS_IO_MCP_UPDATE_TEMPLATE`

Update your template's name, `scope` (workspace vs private), tags, or the SEO you propose for the gallery. Takes the design id — a design has one template, so you don't need to carry its id. You cannot list a template in the public gallery from here: that is an admin decision, asked for with submit_template_for_review. Editing a template that IS already listed changes your own copy, not what the gallery serves (which stays on its approved version until an admin approves a sync).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `seo` | object | No | SEO you PROPOSE for the gallery. Advisory until an admin approves it — it never changes a live listing. |
| `name` | string | No | New template name. |
| `tags` | array | No | Replacement list of template tag ids. |
| `scope` | string ("workspace" | "private") | No | workspace = everyone in the workspace; private = only you. |
| `designId` | string | Yes | The design id — either the `id` from list_designs (Mongo id) or the short render code (`renderCode`, the id in a render URL). Both work. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `updated` | boolean | No |  |
| `template` | object | No |  |

### Upload file

**Slug:** `IMEJIS_IO_MCP_UPLOAD_FILE`

Upload an image into the user's asset library and get back a permanent `url` to use as an image component's `image` field. Provide the image as a public `url` (fetched server-side) OR inline `data` (a data: URI or raw base64). PNG/JPEG/WebP/etc.; 20MB max. Calls the imejis uploads API — see https://www.imejis.io/apis.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No | Public http(s) URL of the image to fetch and store. |
| `data` | string | No | Image bytes as a data: URI (data:image/png;base64,...) or raw base64. |
| `filename` | string | No | File name to store, e.g. "logo.png" (used as the asset name). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `file` | object | No |  |
| `uploaded` | boolean | Yes |  |

### Upload font

**Slug:** `IMEJIS_IO_MCP_UPLOAD_FONT`

Upload a custom font family (one file per variant) into the user's private font library, then use its `name` as properties.fontFamily. Provide each font file as a public `url` OR inline `data` (data: URI or raw base64). Common formats: ttf, otf, woff, woff2. Up to 20 files; 20MB each.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Font family name, e.g. "Acme Grotesk", this becomes the fontFamily value. |
| `files` | array | Yes | One entry per font file; variant order is preserved. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `uploaded` | boolean | Yes |  |

### Withdraw template review

**Slug:** `IMEJIS_IO_MCP_WITHDRAW_TEMPLATE_REVIEW`

Cancel a gallery review request you submitted, while it is still pending. Once an admin has started reviewing it you cannot withdraw it — wait for the decision. The template itself is unaffected; you can submit it again later. Request ids come from list_template_reviews.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `requestId` | string | Yes | The review request id from list_template_reviews. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `requestId` | string | No |  |
| `withdrawn` | boolean | No |  |
