Audit Timeline Health
audit_timeline_healthAudits a sequence snapshot locally for flash frames, gaps, overlaps, disabled clips, missing audio, extreme speed, and invalid times, returning a 0–100 health score with timecoded findings and fix routes.
Instructions
Audit one sequence snapshot for flash frames, gaps, overlaps, disabled clips, repeated shots, video without audio, extreme speed, invalid times, empty tracks, leading black, and trailing gaps; returns a 0..100 score, findings with timecodes, and fix routes. Local-only; never changes Premiere.
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": {
"snapshot": "<snapshot>"
},
"name": "audit_timeline_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snapshot | Yes | Sequence snapshot to audit. | |
| frame_rate | No | Frame rate override for frame math and timecodes (1..240). Defaults to the snapshot frame rate or 30. | |
| gap_min_frames | No | Minimum gap length in frames to report (default 1). | |
| max_speed_percent | No | Absolute speed above this percentage is flagged (default 400). | |
| 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_frame_rate | No | Optional expected frame rate; a mismatch is an error. | |
| 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. | |
| flash_frame_max_frames | No | Clips lasting this many frames or fewer are flagged as flash frames (default 3). | |
| expected_duration_seconds | No | Optional target duration; clips past it and trailing gaps before it are flagged. |
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. |