Plan Reaction Captions
plan_reaction_captionsPlan stacked, speaker-colored reaction captions from word-timed transcripts and a speaker palette, merging flash words and handling overlaps without altering Premiere.
Instructions
Plan stacked, speaker-colored reaction captions from a word timeline and an explicit speaker palette. Flash-length words merge, overlaps stack, and unknown speakers stay uncolored. Local-only; never changes Premiere.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame_rate | No | Sequence frame rate used to snap times to frames; defaults to 30. | |
| shot_changes | No | Optional labeled cut points. A matching speaker's caption will not start before they appear on screen when a readable hold remains. | |
| word_timeline | Yes | Caller-supplied word-timed transcript for one Premiere source item. Words must be ordered by start time and bound to the transcript revision returned by get_clip_transcript_uxp. Different labeled speakers may overlap; same-speaker words may not, even when another speaker is between them. | |
| speaker_palette | Yes | Known speakers and their exact #RRGGBB colors. Missing labels are returned as uncertain and never receive a guessed color. | |
| min_hold_seconds | No | Minimum duration kept after clamping a cue to a shot change; defaults to 0.35. | |
| merge_gap_seconds | No | Same-speaker words closer than this become one cue; defaults to 0.12 so a short pause can start a new line. | |
| combine_gap_seconds | No | Maximum gap when combining a flash cue with the next same-speaker cue; defaults to 0.8. | |
| min_solo_cue_seconds | No | Cues shorter than this merge with the next same-speaker cue; defaults to 0.45. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| data | No | Tool-specific result data when ok is true. | |
| tool | Yes | The registered MCP tool name. | |
| error | No | Failure detail when ok is false. |