Encode File
encode_fileQueue an external file for Adobe Media Encoder export from a saved Premiere Pro project using an .epr preset. Returns an unverified handoff job ID; confirm queue presence or output file.
Instructions
Request an Adobe Media Encoder encode for an external file. Requires a saved project. The returned job ID is an unverified handoff; verify queue presence or the output file independently. Optional start_batch requests processing of every ready AME queue job, including unrelated jobs.
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": {
"input_path": "<input_path>",
"output_path": "<output_path>",
"preset_path": "<preset_path>"
},
"name": "encode_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| in_seconds | No | Optional start time in seconds | |
| input_path | Yes | Full path to the input file | |
| out_seconds | No | Optional end time in seconds | |
| output_path | Yes | Full output file path | |
| preset_path | Yes | Path to an AME preset file (.epr) | |
| start_batch | No | Opt in to start the entire ready Adobe Media Encoder queue after this handoff, including unrelated jobs. Default false (enqueue only). A successful call does not verify that any render started or completed. | |
| remove_on_completion | No | Remove from queue on completion (default: true) |
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. |