Give a video its script and captions
set_video_linesGives a video its script (voice-over lines) and captions (words burnt into the picture), each with when it's spoken or shows, so a reviewer can fix a word in place instead of describing it. Call it for each video you made, once it's in PostReach: after finish_upload, or with the media_id that create_draft or open_review shows. Every time is in milliseconds from the video's start (a cover's at_seconds is the one place that's seconds). Give exactly what the video says and shows: PostReach never listens to a video to find them. A call replaces what the video had, so give every line again; a list left out is taken off. It refuses a picture or PDF, voice lines that overlap (captions may), and, once the video's length is measured, a line that starts after its end, saying which. Before it's measured the lines are kept, and any past its end won't show once it is: the answer says which case it is. It makes no new version of the post. Example: media_id "med_1", lines {voice: [{start_ms: 0, end_ms: 4200, text: "Croissants out of the oven at six."}], captions: [{start_ms: 500, end_ms: 3500, text: "Fresh at six"}]}.
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": {
"media_id": "<media_id>",
"lines": "<lines>"
},
"name": "set_video_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | ||
| media_id | Yes | The video's media_id |