fcpxml_assign_role
Assign a role to a clip (e.g., Dialogue, Video, Music, Effects) in an FCPXML file, specifying the file path, clip name, and role.
Instructions
Set the role on a clip (e.g., "Dialogue", "Video", "Music", "Effects").
Args: path: Path to .fcpxml file clip_name: Name of the clip role: Role name 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>",
"clip_name": "<clip_name>",
"role": "<role>"
},
"name": "fcpxml_assign_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| clip_name | Yes | ||
| role | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |