Plan Media Synchronization
plan_media_synchronizationPlans media synchronization by correlating normalized mono audio or matching marker/timecode anchors, returning confidence scores, ambiguous alternatives, or a silent/noise refusal.
Instructions
Plan synchronization locally from bounded normalized mono PCM correlation or caller-matched marker/timecode tick anchors. Returns confidence, ambiguous alternatives or silent/noise refusal. Placement offset application is separately reviewed.
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": {
"method": "<method>"
},
"name": "plan_media_synchronization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | Evidence method. | |
| sample_rate | No | Audio sample rate. | |
| candidate_ticks | No | Matched candidate anchors. | |
| max_lag_samples | No | Search lag; work capped at2000000 comparisons. | |
| reference_ticks | No | Matched reference anchors. | |
| candidate_samples | No | Candidate normalized mono samples for audio method. | |
| reference_samples | No | Reference normalized mono samples for audio method. | |
| 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. |