Create Context Edit Plan
create_context_edit_planCreates a non-mutating, evidence-backed edit-plan scaffold from indexed Premiere context with ranked source/time candidates and stale-state guards, so edits are reviewed before preview or mutation.
Instructions
Create a non-mutating, evidence-backed edit-plan scaffold from indexed Premiere context. It returns ranked source/time candidates and stale-state guards; the model must review them and use preview_edit_plan before any mutation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes | Editing goal, such as finding the strongest budget explanation for a rough cut | |
| strategy | No | Planning mode; default rough_cut | |
| project_id | Yes | Project context ID returned by manage_project_context capture | |
| sequence_id | No | Optional exact sequence ID filter | |
| max_candidates | No | Maximum 25; default 8 | |
| 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. |