animation_sanitize
Normalize animation consistency by checking frame ranges, layer order, overlaps, and out-of-range cels. Apply automatic fixes or generate a summary report.
Instructions
Normalize animation consistency and optionally apply fixes.
layer_frame_ranges format: ["layer:1-8,17-24", "clouds:1-12"] out_of_range_action: "set_opacity_zero", "delete_cels", "none" ignore_full_canvas_overlaps: skip overlap checks when a cel is full canvas Returns JSON for AI consumption (summary, layer_stats, alerts, overlaps).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| start_frame | No | ||
| end_frame | No | ||
| layer_names | No | ||
| layer_order | No | ||
| layer_frame_ranges | No | ||
| ensure_layers | No | ||
| overlap_pairs | No | ||
| report_bounds | No | ||
| max_overlaps | No | ||
| ignore_full_canvas_overlaps | No | ||
| out_of_range_action | No | set_opacity_zero | |
| out_of_range_opacity | No | ||
| report_only | No | ||
| include_stats | No |