Skip to content

animate_source tool

Read the editable source of a local render in a later session. It returns the scene entry by default. Pass file to read a named text file in the saved bundle.

animate_source(job_id, file=null)
  • Changes no file
  • A second call with the same arguments changes nothing more
  • Stays inside the project

Tags: animation.

The server gives the agent this description of the tool.

Read saved Manim source as text to revise a scene without access to the local files.

Type: string. Required.

ID returned by animate_render.

Type: string or null. Optional, default null.

Path listed in the saved manifest's files. Defaults to the main entry.

Field Type Required Default Description
file string yes
text string yes

An invalid job ID or a missing, binary, or oversized source file returns a tool error. Use animate_artifact to retrieve the source archive for binary assets.