LottieFiles MCP
lottiefiles_mcpBuild, 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 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ónWhich LottieFiles account, workspace and Drafts project saved files go to, and appUrl.
LOTTIEFILES_MCP_CREATOR_ACCOUNTAcciónWhich 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ónDelete 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.
LOTTIEFILES_MCP_CREATOR_DELETE_FILEAcciónDelete 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
filestringObligatorioFile name passed to creator.render / creator.export, e.g. "hero.mp4".
documentIdstring | nullDocument the file belongs to (default "default").
expectedJobIdstring | nullDelete 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ónCreator 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.
LOTTIEFILES_MCP_CREATOR_DOCSAcciónCreator 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 | nullFree-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 | nullA 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 | nullEvery 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ónList 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.
LOTTIEFILES_MCP_CREATOR_DOCUMENTAcciónList 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
actionanyObligatoriorevisionstring | nullAction "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ónFetch, 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.
LOTTIEFILES_MCP_CREATOR_DOWNLOAD_FILEAcciónFetch, 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
filestringObligatorioFile name passed to creator.render / creator.export, e.g. "hero.mp4".
documentIdstring | nullDocument the file belongs to (default "default").
Parámetros de salida
Sin parámetros.
Creator execLOTTIEFILES_MCP_CREATOR_EXECAcciónRuns 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.
LOTTIEFILES_MCP_CREATOR_EXECAcciónRuns 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
codestringObligatorioJavaScript source; creator, PropertyType, params, ctx, dump, files are in scope. See the server instructions for units and the invariants.
notestring | nullOne line for the document's history; default: the script's leading // comment.
paramsanytimeoutMsinteger | nulluint64Wall-clock budget in milliseconds (default 5000, max 30000).
documentIdstring | nullDefault "default"; use another id for a separate document.
Parámetros de salida
Sin parámetros.
Creator generate mediaLOTTIEFILES_MCP_CREATOR_GENERATE_MEDIAAcciónGenerate 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.
LOTTIEFILES_MCP_CREATOR_GENERATE_MEDIAAcciónGenerate 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
kindstringObligatorioenumimage | vector (SVG) | music | speech.
imagevectormusicspeechnamestringFile name without path, e.g. "intro"; the extension follows the kind. Default: from the words.
textstringspeech: the exact words to speak (required). music: lyrics; omit for an instrumental.
maxPxintegerimage: longest edge in pixels, 64–2048 (default 1024); a placed image costs width×height×4 bytes.
stylestringStyle guidance; speech: the delivery (tone, pace, accent).
voicestringspeech: 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.
promptstringimage, vector, music: what to make. Speech does not use it.
replacebooleanRegenerate an existing name; the earlier file stays readable until the new one is ready.
providerstringenumOmit unless the user names a provider.
openaigoogleelevenlabsminimaxlottiefilesdurationSnumbermusic: length in seconds, 5–180 (default 30).
documentIdstringDocument the media belongs to (default "default").
aspectRatiostringenumimage: the frame shape.
1:116:99:164:33:43:22:3transparentbooleanimage: 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ónAdd 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.
LOTTIEFILES_MCP_CREATOR_IMPORT_MEDIAAcciónAdd 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
namestringObligatorioSuch as music or logo.svg; the extension follows contentType.
bytesintegerupload: the file's exact size.
sourcestringObligatorio"upload".
replacebooleanReplace an existing name.
documentIdstringcontentTypestringupload: such as image/png, audio/mpeg, font/ttf.
Parámetros de salida
Sin parámetros.
Creator load from workspaceLOTTIEFILES_MCP_CREATOR_LOAD_FROM_WORKSPACEAcciónLoad 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).
LOTTIEFILES_MCP_CREATOR_LOAD_FROM_WORKSPACEAcciónLoad 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.
fileIdstringObligatorioWorkspace file to load, from an earlier save or the user.
documentIdstring | nullDocument to load into (default "default").
Parámetros de salida
Sin parámetros.
Creator open in creatorLOTTIEFILES_MCP_CREATOR_OPEN_IN_CREATORAcciónSave 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.
LOTTIEFILES_MCP_CREATOR_OPEN_IN_CREATORAcciónSave 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 | nullTitle 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 | nullDocument to open (default "default").
Parámetros de salida
Sin parámetros.
Creator save to workspaceLOTTIEFILES_MCP_CREATOR_SAVE_TO_WORKSPACEAcciónSave 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.
LOTTIEFILES_MCP_CREATOR_SAVE_TO_WORKSPACEAcciónSave 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 | nullA ready Lottie JSON output file (creator.export(file, "lottie")) to upload instead of exporting the document.
namestring | nullTitle, 1-100 characters (default: the file's title with fileId, else the composition's name or output file's stem).
fileIdstring | nullWorkspace file to save a new version of; omit for a new file in Drafts.
documentIdstring | nullDocument to save (default "default").
Parámetros de salida
Sin parámetros.