Import lottie
import_lottieAdd a Lottie animation (bodymovin JSON) to the graphics library, and optionally place it on the timeline. Pass json (the file's text) or url (a public https URL). Its colours become props color1, color2… by how much they're used, its words text1, text2…, and it plays frame-exactly in the preview and export. With brandColors, the brand kit's colours replace its own. With a brand kit on the project it joins that brand's pack.
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": {
"name": "<name>"
},
"name": "import_lottie"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| json | No | ||
| name | Yes | ||
| start | No | seconds; places it on the timeline | |
| duration | No | ||
| projectId | No | Project to act on (default: the open one) | |
| brandColors | No |