fcpxml_batch_assign_roles
Assign roles to clips in an FCPXML file by defining name matching rules. Batch process multiple clips with custom rule sets.
Instructions
Assign roles to clips based on name matching rules.
Args: path: Path to .fcpxml file rules_json: JSON array of rules: [{"match": "interview", "role": "Dialogue"}, ...] output_path: Output file path
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": {
"path": "<path>",
"rules_json": "<rules_json>"
},
"name": "fcpxml_batch_assign_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| rules_json | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |