List live posts from Facebook or Instagram
list_live_postsRecent published posts, reels and videos read directly from Meta for this channel (Facebook Page posts, or Instagram media and reels), including ones created outside dmswift. Ids here are Meta ids - the post_id for create_campaign, list_comments and get_post_insights. Use it to find "my latest video" before attaching a campaign to it. include_scheduled adds Facebook scheduled posts.
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": {
"page": "<page>"
},
"name": "list_live_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Channel id from list_pages (a Facebook Page or an Instagram account) | |
| include_scheduled | No | Also include scheduled posts from Facebook |