validate_dtd
Checks an .fcpxml file against Apple's official FCPXML DTD using xmllint to confirm Final Cut Pro import compatibility.
Instructions
Validate an .fcpxml against Apple's official FCPXML DTD using xmllint. The DTD is auto-discovered inside your Final Cut Pro install (redistribution is not permitted), or set the CUTSMITH_DTD environment variable to a local copy. This is the strongest correctness check available: if a generated timeline passes this, FCP will import it.
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>"
},
"name": "validate_dtd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fcpxmlPath | Yes |