Volver al catálogo

LottieFiles MCP

lottiefiles_mcp

Build, preview and export Lottie animations with the LottieFiles Creator API, generate or import media, and save files to your LottieFiles workspace through LottieFiles' hosted Creator MCP server.

Acciones
11
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (11)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Creator accountLOTTIEFILES_MCP_CREATOR_ACCOUNTAcción

Which LottieFiles account, workspace and Drafts project saved files go to, and appUrl.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Creator delete fileLOTTIEFILES_MCP_CREATOR_DELETE_FILEAcción

Delete an output or media/<name> file by name. Deleting a file that is still encoding cancels the encode. Pass expectedJobId from a creator_download_file result to delete the file only while that job's export still holds the name, even after it completes. If another export replaced it, the call returns output_changed; check the export again instead of dropping expectedJobId.

Parámetros de entrada

  • filestringObligatorio

    File name passed to creator.render / creator.export, e.g. "hero.mp4".

  • documentIdstring | null

    Document the file belongs to (default "default").

  • expectedJobIdstring | null

    Delete only while this job's export still holds the name, even after it completes.

Parámetros de salida

Sin parámetros.

Creator docsLOTTIEFILES_MCP_CREATOR_DOCSAcción

Creator API reference. `lookup`: signature, units, example and related calls for each named method or enum member (all names in one call, e.g. ["setParentInPlace", "PropertyType.Scale"]). `query`: plain-words search ("fade a shape"). `topic`: a page (overview, shapes, animation, paints, effects, masks, render, slides, video, edit, import) or section of guide, patterns, api (`guide/units`, `api/paints`), up to four comma-separated. About 100 tokens a lookup name, a page a few hundred to 1,500.

Parámetros de entrada

  • querystring | null

    Free-text search over names, parameters and doc text, e.g. "fade a shape" or "export video". Returns the top 5 matches, any matching how-to answer, and the sections worth reading next.

  • topicstring | null

    A page (see the tool description), or a section such as guide/units or api/paints; up to 4 comma-separated. Common synonyms (export, colors, deck, mp4, ...) resolve too.

  • lookuparray | null

    Every method or enum-member name you are about to use, in one call, e.g. ["setParentInPlace", "PropertyType.Scale"]. An invented name that has a real equivalent resolves to it; about 100 tokens per name.

Parámetros de salida

Sin parámetros.

Creator documentLOTTIEFILES_MCP_CREATOR_DOCUMENTAcción

List durable Creator documents or one document's files; list a document's revisions ("history") or restore one ("restore" with revision); or reset one to an empty revision. Each creator_exec that changes the document saves a numbered revision. Restore saves that revision's content as a new one, so nothing is lost and creator_exec continues from it. Reset removes output files, cancels encodes and needs the caller's confirmation. To undo a change, restore; reset only when the user asks to wipe the scene.

Parámetros de entrada

  • actionanyObligatorio
  • revisionstring | null

    Action "restore" only: the revision to bring back, e.g. "7".

  • documentIdstring | null

Parámetros de salida

Sin parámetros.

Creator download fileLOTTIEFILES_MCP_CREATOR_DOWNLOAD_FILEAcción

Fetch, by name, a file a script created with creator.render(file) or creator.export(file, format) inside creator_exec, or a media/<name> file. Ready: returns downloadUrl and downloadExpiresAt (a temporary web link; anyone holding it can read the file until it expires, call again to renew) when this deployment's store can sign one, else only a uri (an MCP resource for resources/read, not a browser URL). Still encoding: {status:"encoding", retryAfterS} — wait that long and call again. Failed: the error message. Treat downloadUrl as a secret bearer link: share it only with the user who asked for the file and do not log or store it.

Parámetros de entrada

  • filestringObligatorio

    File name passed to creator.render / creator.export, e.g. "hero.mp4".

  • documentIdstring | null

    Document the file belongs to (default "default").

Parámetros de salida

Sin parámetros.

Creator execLOTTIEFILES_MCP_CREATOR_EXECAcción

Runs JavaScript against the persistent Creator API document (code mode): build, inspect, preview and export are all done through this one call. Every successful mutation commits before the tool returns; any thrown error, including a timeout, rolls back the whole script and leaves the document unchanged. Returns the script's return value as `result`, `logs`, a `warnings` array (unit and range lints), the new `revision`, any `outputs` a render or export queued, and attaches PNGs from `renderFilmstrip`/`render` as images. Key parameters: `code` (the script), `documentId` (default "default"), `timeoutMs` (default 5000, max 30000). See the server instructions for units and the invariants, and `creator_docs` (lookup/query/topic) or `creator.help(name)` for anything not covered there.

Parámetros de entrada

  • codestringObligatorio

    JavaScript source; creator, PropertyType, params, ctx, dump, files are in scope. See the server instructions for units and the invariants.

  • notestring | null

    One line for the document's history; default: the script's leading // comment.

  • paramsany
  • timeoutMsinteger | nulluint64

    Wall-clock budget in milliseconds (default 5000, max 30000).

  • documentIdstring | null

    Default "default"; use another id for a separate document.

Parámetros de salida

Sin parámetros.

Creator generate mediaLOTTIEFILES_MCP_CREATOR_GENERATE_MEDIAAcción

Generate an image (PNG), an SVG (kind vector), music or speech into the document's media library as media/<name>. It does not change the scene: the result shows the exact creator_exec code that uses the file. image: prompt describes the picture; transparent:true for a subject placed over the scene. vector: prompt draws a flat icon and traces it to SVG, or inputs:["media/<x>.png"] traces an image. music: prompt is mood, genre and instruments; text is lyrics; durationS 5–180. speech: text is the exact words, style the delivery, voice a provider voice. Each call is billed. A result not ready within the server's wait comes back as {status:"generating"}: call creator_download_file(file), which waits for it, until it is ready; do not generate it again. A taken name fails unless replace:true. With replace, the new file overwrites the existing media file of the same name.

Parámetros de entrada

  • kindstringObligatorioenum

    image | vector (SVG) | music | speech.

    imagevectormusicspeech
  • namestring

    File name without path, e.g. "intro"; the extension follows the kind. Default: from the words.

  • textstring

    speech: the exact words to speak (required). music: lyrics; omit for an instrumental.

  • maxPxinteger

    image: longest edge in pixels, 64–2048 (default 1024); a placed image costs width×height×4 bytes.

  • stylestring

    Style guidance; speech: the delivery (tone, pace, accent).

  • voicestring

    speech: a provider voice (openai: marin, cedar, coral, sage, …; minimax: English_Graceful_Lady, …).

  • inputsstring[]

    image: media PNGs to edit or match; vector: the one image to trace.

  • promptstring

    image, vector, music: what to make. Speech does not use it.

  • replaceboolean

    Regenerate an existing name; the earlier file stays readable until the new one is ready.

  • providerstringenum

    Omit unless the user names a provider.

    openaigoogleelevenlabsminimaxlottiefiles
  • durationSnumber

    music: length in seconds, 5–180 (default 30).

  • documentIdstring

    Document the media belongs to (default "default").

  • aspectRatiostringenum

    image: the frame shape.

    1:116:99:164:33:43:22:3
  • transparentboolean

    image: true for a subject over the scene; false for a full-frame background.

Parámetros de salida

Sin parámetros.

Creator import mediaLOTTIEFILES_MCP_CREATOR_IMPORT_MEDIAAcción

Add a local PNG, SVG, Lottie, .lottie, .riv, audio or font file to the document as media/<name>, without base64. source "upload" returns a URL: PUT the bytes there within 15 minutes, with no credentials. Scripts pass {file: "media/<name>"} to createImageAsset, loadBytes, createAudioAsset or loadFont. The upload URL accepts bytes without credentials: treat it as a secret, use it only for this upload and do not log or share it. With replace, the import overwrites the existing media file of the same name.

Parámetros de entrada

  • namestringObligatorio

    Such as music or logo.svg; the extension follows contentType.

  • bytesinteger

    upload: the file's exact size.

  • sourcestringObligatorio

    "upload".

  • replaceboolean

    Replace an existing name.

  • documentIdstring
  • contentTypestring

    upload: such as image/png, audio/mpeg, font/ttf.

Parámetros de salida

Sin parámetros.

Creator load from workspaceLOTTIEFILES_MCP_CREATOR_LOAD_FROM_WORKSPACEAcción

Load a LottieFiles workspace file into the document by fileId. mode "replace" discards the document (content, files, output files) and commits the file as its next revision, with no confirmation; mode "add" adds its compositions beside the existing ones. Edit the result with creator_exec; creator_save_to_workspace with the same fileId saves a new version. Files created inside Creator return unsupported_file; also file_not_found, file_too_large, workspace_download_failed (retry).

Parámetros de entrada

  • modeanyObligatorio

    "replace": the document becomes the file. "add": the file's compositions are added beside the existing ones.

  • fileIdstringObligatorio

    Workspace file to load, from an earlier save or the user.

  • documentIdstring | null

    Document to load into (default "default").

Parámetros de salida

Sin parámetros.

Creator open in creatorLOTTIEFILES_MCP_CREATOR_OPEN_IN_CREATORAcción

Save the focused composition to the caller's LottieFiles workspace and give the user the returned creatorUrl, which opens it in LottieFiles Creator. The first call on a document creates the file; every later call writes a new version of that same file, so creatorUrl and fileId stay the same (rebound: true when the file was gone and a new one was made). Errors: empty_document, no_focused_composition (creator.focusOn first), payload_too_large.

Parámetros de entrada

  • namestring | null

    Title of a file this call creates, 1 to 100 characters (default: the composition's name); a new version keeps the file's title unless given.

  • documentIdstring | null

    Document to open (default "default").

Parámetros de salida

Sin parámetros.

Creator save to workspaceLOTTIEFILES_MCP_CREATOR_SAVE_TO_WORKSPACEAcción

Save to the caller's LottieFiles workspace; give the user the returned creatorUrl, which opens the file in LottieFiles Creator. Default: exports the focused composition as a dotLottie; `file` uploads a ready Lottie JSON output file instead. `fileId` saves a new version of that file; omit it for a new file in Drafts. Errors: empty_document, no_focused_composition (creator.focusOn first), unsupported_file, not_found, expired, file_not_found, payload_too_large.

Parámetros de entrada

  • filestring | null

    A ready Lottie JSON output file (creator.export(file, "lottie")) to upload instead of exporting the document.

  • namestring | null

    Title, 1-100 characters (default: the file's title with fileId, else the composition's name or output file's stem).

  • fileIdstring | null

    Workspace file to save a new version of; omit for a new file in Drafts.

  • documentIdstring | null

    Document to save (default "default").

Parámetros de salida

Sin parámetros.