Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Creator account
LOTTIEFILES_MCP_CREATOR_ACCOUNTWhich LottieFiles account, workspace and Drafts project saved files go to, and appUrl.
Creator delete file
LOTTIEFILES_MCP_CREATOR_DELETE_FILEDelete 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.
Creator docs
LOTTIEFILES_MCP_CREATOR_DOCSCreator 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.
Creator document
LOTTIEFILES_MCP_CREATOR_DOCUMENTList 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.
Creator download file
LOTTIEFILES_MCP_CREATOR_DOWNLOAD_FILEFetch, 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.
Creator exec
LOTTIEFILES_MCP_CREATOR_EXECRuns 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.
Creator generate media
LOTTIEFILES_MCP_CREATOR_GENERATE_MEDIAGenerate 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.
Creator import media
LOTTIEFILES_MCP_CREATOR_IMPORT_MEDIAAdd 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.
Creator load from workspace
LOTTIEFILES_MCP_CREATOR_LOAD_FROM_WORKSPACELoad 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).
Creator open in creator
LOTTIEFILES_MCP_CREATOR_OPEN_IN_CREATORSave 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.
Creator save to workspace
LOTTIEFILES_MCP_CREATOR_SAVE_TO_WORKSPACESave 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.