Media management
mediaRelink, set offline, create/attach proxies, interpret, scale, override color space or LUT, and auto-import from watch folders for Premiere Pro project items.
Instructions
Media of project items. relink (path, or search: a folder searched for files with the same name, and the same duration when ffprobe can read both), set_offline, proxies (create_proxies through Media Encoder with a preset, attach_proxy, detach_proxy, proxy_status, proxies_enable), interpret (fps, par, field, alpha), scale_to_frame, color_space (read or override), input_lut (.cube on the source), watch_folder (import new files from a folder into a bin automatically; stop_watch, list_watches). poster_frame and audio_channel_mapping return UNSUPPORTED_IN_PREMIERE.
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": {
"action": "<action>"
},
"name": "media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bin | No | ||
| fps | No | ||
| par | No | ||
| path | No | relink/attach_proxy/input_lut: file; watch_folder: folder | |
| alpha | No | ||
| async | No | Run as a background job: returns job_id at once (see jobs) | |
| field | No | ||
| items | No | ||
| paths | No | one file per item | |
| action | Yes | ||
| search | No | relink: folder to search (recursive) | |
| enabled | No | ||
| project | No | ||
| color_space | No | ||
| preset_path | No | create_proxies: .epr (default: a Premiere proxy preset) | |
| offline_only | No | relink with search and no items: every offline item | |
| proxy_folder | No | ||
| expected_project_path | No |