Get Active Sequence
get_active_sequenceRetrieve paged details of the active Premiere Pro sequence, including clip source In/Out points and picture/sound offset diagnostics, to inspect timeline content and alignment issues.
Instructions
Get bounded, paged information about the currently active sequence (50 clips by default). Audio and video clips include source In/Out seconds. Follow pagination.nextOffset for more. Bounded source-alignment diagnostics include separate picture/sound offsets and media-pair group inconsistencies, with limited group context outside this page; they do not verify playback sync.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_active_sequence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_limit | No | Page size (default: 50, maximum: 200). Payload budget may shorten a page. Inspect nextOffset. | |
| track_type | No | Track type to page (default: both). Track counts remain available. | |
| clip_offset | No | Offset into matching clips (matching gaps for get_timeline_gaps), video before audio (default: 0). | |
| end_seconds | No | Optional exclusive window end; must exceed start_seconds. | |
| track_index | No | Optional zero-based track index within each selected type. | |
| start_seconds | No | Optional inclusive window start; returns overlapping items. | |
| 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. |