Manage the captions of a Facebook Page video
manage_facebook_video_captionsAdd, select, or delete caption tracks for a Facebook Page video, set the default locale, and preview changes before approval.
Instructions
Add, choose or delete the caption tracks of a video of the profile's Facebook Page. Send srt (the SubRip text, UTF-8, up to 200 KB) with locale (e.g. en_US) to add a track (Facebook refuses a locale the video already has: delete it first), default_locale (a locale or 'none') to pick the one shown by default, and/or delete_locales with confirm: true to remove tracks. The video must belong to the Page (403 facebook_video_not_owned). Read the tracks with facebook_page_read video_captions. Needs the user's approval: call it first without confirmed to get a preview (nothing is sent), show the user exactly what will go out, and repeat the call with confirmed: true only after they approve.
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": {
"user": "<user>",
"video_id": "<video_id>"
},
"name": "manage_facebook_video_captions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| srt | No | Caption track to add, as SubRip (.srt) text. Needs `locale`. | |
| user | Yes | Upload-Post profile name with Facebook connected. | |
| locale | No | Locale of `srt`, e.g. en_US or es_ES. | |
| confirm | No | The API's own confirmation for deletions and other changes that cannot be undone. Set it to true only after the user has approved that exact change; without it those actions are refused and nothing changes. | |
| page_id | No | The Facebook Page id, when the profile manages several. | |
| video_id | Yes | Id of a video of the Page. | |
| confirmed | No | Set to true only after the user has seen the preview this tool returns without it and approved it. Without it nothing is sent. | |
| default_locale | No | Locale shown by default, or 'none'. | |
| delete_locales | No | Locales to delete. Needs confirm: true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No |