fcpxml_apply_template
Replace placeholder clips in FCPXML templates with your own clips to create new Final Cut Pro projects from existing layouts.
Instructions
Apply an FCPXML template to a set of clips.
Replaces placeholder clips in the template with provided clips.
Args: template_path: Path to template .fcpxml file clips_json: JSON array of clips to insert project_name: New project name output_path: Where to save
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": {
"template_path": "<template_path>",
"clips_json": "<clips_json>"
},
"name": "fcpxml_apply_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_path | Yes | ||
| clips_json | Yes | ||
| project_name | No | From Template | |
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |