add_frame
Add a new frame to an animation. Optionally duplicate content from an existing frame or leave it empty.
Instructions
Append a new frame to the animation.
Args:
duration_ms: Frame duration in milliseconds (default 100).
copy_from: If given (1-based), duplicate the content of that frame;
otherwise the new frame is empty.
Returns the new frame number and updated frame count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| copy_from | No | ||
| duration_ms | No |