Export a sequence for one platform
export_for_platformExports a Premiere sequence to a platform-ready file by checking target specs, auto-reframing when aspect differs, encoding with the preset, and verifying the output.
Instructions
One-call platform export: checks the sequence against the target (aspect, resolution, duration, fps), auto-reframes a copy when the aspect differs (reframe="auto"), encodes inside Premiere with the target's preset (no Media Encoder), then verifies the file (exists, size, and with ffprobe its duration, frame size and aspect). Output: output_path, or output_folder/" - .". Returns output_path, size_bytes, duration, video/audio stream info, pre_checks, output_checks, passed, failed_checks, the preset used and the reframed sequence (if any). Use export_deliverables for several targets at once.
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": {
"target": "<target>"
},
"name": "export_for_platform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Target id from list_delivery_targets. | |
| reframe | No | "auto" (default): when the sequence aspect differs from the target (e.g. 16:9 for a 9:16 Reel), make an Auto Reframe copy of the sequence and export that; the source is not changed. "never": export as is. | |
| overwrite | No | Replace existing output files. Default false. | |
| output_path | No | Absolute output file path instead of output_folder; its extension is set to the preset's. | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| output_folder | No | Absolute folder; the file is named "<sequence> - <target>.<ext>". | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. | |
| timeout_seconds | No | How long to wait for each encode. Default 600. | |
| trim_to_max_duration | No | When the sequence is longer than the platform allows, export only the first max_duration seconds. Default false (exported whole, with a note). | |
| delete_reframed_sequence | No | Delete the auto-reframed copy after exporting. Default false (kept so it can be adjusted). |