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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"scene": "<scene>"
},
"name": "sample_scene"
}
}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 |