Save to the LottieFiles workspace
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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "creator_save_to_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | A ready Lottie JSON output file (creator.export(file, "lottie")) to upload instead of exporting the document. | |
| name | No | Title, 1-100 characters (default: the file's title with fileId, else the composition's name or output file's stem). | |
| fileId | No | Workspace file to save a new version of; omit for a new file in Drafts. | |
| documentId | No | Document to save (default "default"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||