link_video_project_to_variant
Links a video project to a variant after creation since the initial API cannot set the foreign key. Set variant_id to null to unlink.
Instructions
Link (or unlink) an existing video_project to a variant (1:1). video_projects is currently created via the brxce-editor API which does not accept variant_id, so this tool fills the FK after creation. Pass variant_id=null to explicitly unlink.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variant_id | Yes | variants.id to link to, or null to unlink (1:1 constraint). | |
| video_project_id | Yes | video_projects.id |