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.
Description
Section titled “Description”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.
Arguments
Section titled “Arguments”job_id
Section titled “job_id”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.
Result
Section titled “Result”| Field | Type | Required | Default | Description |
|---|---|---|---|---|
file |
string | yes | ||
text |
string | yes |
Errors
Section titled “Errors”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.