Batch-render many .riv files/formats in one call
riv_batch_renderRender batches of Rive (.riv) files to PNG, GIF, APNG, WebM, or sprites sequentially in one headless browser, with per-file success/error reports. Built for CI/script pipelines.
Instructions
Render a list of jobs — each a single .riv (rivPath) or a glob of .riv files (glob) — to png/gif/apng/webm/sprites, sequentially reusing the same headless Chromium page (no parallel pages). Built for CI/scripts: call this tool repeatedly from your pipeline instead of expecting a live watch mode — none is provided, since MCP's request/response model doesn't fit a background file watcher. 'defaults' holds options shared across every job; each job's own fields override them. One job's failure does not stop the batch — every job (and every file a glob expands to) gets its own success/error/outPath/durationMs entry in the returned report.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | Yes | Jobs to render, in order | |
| defaults | No | Shared defaults merged under each job (job-level values win) |