fix_glitches
Repair FCPXML edit artifacts by dropping micro-clip flash frames or absorbing them into the previous clip; writes a new file and leaves the original untouched.
Instructions
Repair detected edit artifacts in an FCPXML: removes micro-clip flash frames (strategy "drop") or extends the previous clip over them (strategy "absorb"). Writes a NEW file — the original is never touched. Refuses non-linear timelines (compound clips, nested stories, attached effect clips) unless force=true, because regeneration flattens those structures.
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": {
"fcpxmlPath": "<fcpxmlPath>",
"outputPath": "<outputPath>"
},
"name": "fix_glitches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Proceed even if the timeline contains structures regeneration would flatten | |
| strategy | No | drop | |
| minFrames | No | ||
| fcpxmlPath | Yes | ||
| outputPath | Yes |