Predict Timeline Edit
predict_timeline_editPredicts exact clips affected by supported insert/overwrite/trim/split/move/remove/ripple/enable edits from a canonical snapshot, refusing unsupported locks, links, source handles, and retiming.
Instructions
Predict exact affected clips for a conservative supported insert/overwrite/trim/split/move/remove/ripple/enable subset using complete canonical state. Refuses unknown locks, links, source handles and retiming. Local prediction does not execute Premiere or promise native edit semantics.
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": {
"snapshot": "<snapshot>",
"operations": "<operations>"
},
"name": "predict_timeline_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snapshot | Yes | Version 1 canonical snapshot from inspect_timeline_snapshot or an equivalent verified adapter; exact tick strings, host identities, completeness, tracks/clips and SHA256 revision are validated before use. | |
| operations | Yes | Operations run sequentially against predicted state. | |
| 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. |
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. |