Skip to content

animate_render tool

Render an existing project-relative scene or submit a bundle with an entry and a files map. Use local stdio. Follow the animation guide for full requests and profiles.

animate_render(scene, source, profile="preview", assets=null)
  • May change files
  • May overwrite what is there
  • A second call may do more
  • Runs code that may reach outside the project

Tags: animation.

The server gives the agent this description of the tool.

Render a Manim scene in the local isolated renderer. Start with preview, inspect its contact sheet with animate_artifact, then render final. Use animate_source to recover editable source in a later session.

Type: string. Required.

Manim Scene class name.

Type: string or object. Required.

Existing scene path inside the project, or inline source with an entry path and a map of bundle-relative paths to UTF-8 source. To revise, set from_job to a saved render ID and include only changed files in the map.

Field Type Required Default Description
source.entry string yes
source.files object yes
source.from_job string or null no null

Type: "preview", "final", "still". Optional, default "preview".

Preview for iteration, final for delivery, or still for the last frame.

Type: list of string or null. Optional, default null.

Existing helper or asset paths relative to the project root.

The 20 fields of the result
Field Type Required Default Description
id string yes
profile "preview", "final", "still" yes
scene string yes
entry string yes
files list of string yes
renderer string yes
duration_seconds number or null yes
width integer yes
height integer yes
fps number or null yes
video string or null yes
still string or null yes
contact_sheet string or null yes
source string yes
manifest string yes
log string yes
source_dir string yes
elapsed_seconds number yes
cached boolean yes
resources object yes

An unavailable renderer, a path outside the project, or an invalid scene fails with a diagnostic. Render errors can include the saved log path.