Load a file from the LottieFiles workspace
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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fileId": "<fileId>",
"mode": "<mode>"
},
"name": "creator_load_from_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | "replace": the document becomes the file. "add": the file's compositions are added beside the existing ones. | |
| fileId | Yes | Workspace file to load, from an earlier save or the user. | |
| documentId | No | Document to load into (default "default"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||