Diff Sequence Snapshots
diff_sequence_snapshotsCompare two sequence snapshots to detect added, removed, moved, trimmed, retimed, enabled, and renamed clips with frame deltas, per-track counts, and EDL-like timecodes.
Instructions
Diff two sequence snapshots (from get_sequence_structure or inspect_sequence_structure_uxp) into added, removed, moved, trimmed, retimed, enabled, and renamed clip changes with frame deltas, per-track counts, and EDL-like timecode lines. Local-only; never reads or changes Premiere.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | Later sequence snapshot. | |
| before | Yes | Earlier sequence snapshot. | |
| frame_rate | No | Frame rate override for frame math and timecodes (1..240). Defaults to the snapshot frame rate or 30. | |
| tolerance_frames | No | Deltas of at most this many frames count as unchanged (default 0). | |
| expected_cep_target | No | Optional reviewed CEP sequence/clip identity and exact tick ranges. Checked before every generated command; UXP refuses this CEP-only guard. | |
| expected_project_path | No | Optional absolute saved-project path. Every generated CEP command refuses before its body when the active project differs or is unsaved. UXP commands refuse this CEP-only guard; local-only tools do not inspect Premiere. Omit to keep existing behavior. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| data | No | Tool-specific result data when ok is true; on failure, diagnostic detail when the tool provides it. | |
| tool | Yes | The registered MCP tool name. | |
| error | No | Failure detail when ok is false. | |
| receipt | No | Versioned common mutation receipt; success never implies rendered verification. | |
| idempotency | No | Present when idempotency_key deduplicated this call: replayed is true when the original outcome was returned instead of running again. |