Sample animation values over time
sample_sceneNumerically preview a scene: evaluates keyframes AND node graphs at N evenly spaced times and returns each moving prop as a value series (the same math the editor preview runs). validate_scene checks structure — this checks MOTION: confirm ranges, spring overshoot, stagger offsets, and that elements actually move before create_scene. Free to call — iterate: author → sample → adjust.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene | Yes | The scene as a JSON object (preferred) or a JSON string. Call get_scene_format for the shape. | |
| samples | No | Sample count across the duration (default 9) | |
| element_ids | No | Only report these element ids |