Map Source Ranges To Timeline
map_source_ranges_to_timelineMaps source-media time ranges to their placements on a sequence track and reports source portions not present on that track. Use it to inspect where selected media appears in the timeline.
Instructions
Read-only mapping from source-media time ranges to placements on one sequence track. Reads the selected track once, maps only normal-speed forward clips, reports source portions not present on the track as unplaced, and returns bounded pages. This inspects timeline placement; it does not prove rendered or audible content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ranges | Yes | Source-media ranges to map; maximum 2000. | |
| media_path | No | Exact media path returned by Premiere to match. Provide this or source_project_item_id. | |
| track_type | Yes | Track collection to inspect. | |
| range_limit | No | Maximum mapped ranges per page (default: 50, maximum: 200). Payload budget may shorten the page. | |
| sequence_id | No | Sequence name or ID; uses the active sequence when omitted. | |
| track_index | Yes | Zero-based index within the selected track collection. | |
| range_offset | No | Zero-based offset into the input ranges after mapping (default: 0). Follow nextOffset to continue. | |
| 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. | |
| source_project_item_id | No | Project item node ID to match. Provide this or media_path. |
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. |