Apply Promo Video Candidate
apply_promo_video_candidateSaves the specified prepared promo-video candidate as a variant and returns its editor link. When replaceVariantId is supplied, the prior variant is retired only after the new variant saves successfully.
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": {
"projectId": "<projectId>",
"candidateKey": "<candidateKey>",
"candidateId": "<candidateId>"
},
"name": "apply_promo_video_candidate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | ||
| candidateId | Yes | ||
| candidateKey | Yes | ||
| replaceVariantId | No | Existing promo-video variant to delete after saving the selected candidate. Only pass when the user explicitly approved replacing that variant. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | No | ||
| success | Yes | ||
| widgetDataJson | No |