Export a .riv animation to Lottie JSON
riv_export_lottieExports a .riv animation to Lottie JSON and reports unsupported or approximated features plus whether pixel comparison was available.
Instructions
Export one .riv animation to Lottie JSON. Reports unsupported and approximated features, and indicates whether pixel comparison was available.
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": {
"path": "<path>"
},
"name": "riv_export_lottie"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Output FPS (default: animation FPS) | |
| out | No | Output JSON path (default: adjacent .lottie.json) | |
| path | Yes | Path to a .riv file | |
| artboard | No | Artboard name (default: first) | |
| animation | No | Animation name (default: first; all unsupported) |