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.
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": {
"video_project_id": "<video_project_id>",
"variant_id": "<variant_id>"
},
"name": "link_video_project_to_variant"
}
}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 |