Relink Media
relink_mediaChanges a media item's file path in Premiere Pro via the legacy CEP route; disabled by default because it can block Premiere, so use only when the UXP option is unavailable.
Instructions
Legacy CEP relink can block Premiere indefinitely, even for an existing file on Premiere 26.5.2. Prefer relink_offline_media_uxp, which checks capability and reads the result back. This CEP route refuses by default; allow_unsafe_cep_relink must be explicitly true to attempt it, and its result is never reported as verified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | Node ID or name of the item to relink | |
| new_path | Yes | New file path for the media | |
| allow_unsafe_cep_relink | No | Explicitly permit the legacy CEP changeMediaPath call. It can wedge Premiere even when the target file exists; prefer relink_offline_media_uxp. |
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. |