Approve a campaign's test video
approve_test_videoApprove a Pitchlane campaign's test video, which lets the campaign's other videos render (the dashboard's Approve button). Call it ONLY after the user has watched that exact video and said to approve it: first show them its link (videoUrl from list_videos with video_id = get_campaign's testVideoApproval.videoId) and ask; never approve on your own judgement or straight after showing the link. Pass that video's id as test_video_id. The tool refuses, without approving, unless that id is the campaign's test video and it has finished rendering, and the API itself approves only that video: if the test video is replaced meanwhile, nothing is approved. After approving, add the remaining leads with add_videos (render all).
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": {
"campaign_id": "<campaign_id>",
"test_video_id": "<test_video_id>"
},
"name": "approve_test_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | The campaign's id, as list_campaigns returns it, e.g. `o6duFik0_UNSUGPCn1LTm`. | |
| test_video_id | Yes | The id of the test video the user watched and said to approve: get_campaign's `testVideoApproval.videoId`, whose link you showed them. |