List published posts with metrics
list_postsList published Threads/X/LinkedIn/TikTok/Instagram/YouTube/Facebook posts with engagement metrics (views, reach, likes, replies, shares...). sort=top orders posts by performance, and each post includes its performance metrics. Each post's postId is the native platform post ID. repost_post works for accounts whose capabilities.repostPosts is true. TikTok requires a Business Developers connection; this tool reads synced video/photo posts with native IDs. Pending video jobs are reported by get_publish_status. TikTok includes shares, mediaType, and metricsUpdatedAt; unavailable or unsupported metrics are null. Instagram reads synced professional-account media with native IDs; unsupported repost and quote metrics are null. YouTube reads synced videos with native video IDs and includes title, mediaType (VIDEO or SHORTS), and metricsUpdatedAt; views, likes, and replies are available and other metrics are null. Facebook reads non-deleted synced Page posts with native IDs and mediaType; unavailable metrics and unsupported reach, quotes, and bookmarks are null. By default this searches across ALL your workspaces and labels each post with its workspace; pass workspaceId to narrow to one.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | recent = newest first (default). top = highest views first. | |
| limit | No | Max posts to return (default 20). | |
| provider | No | Filter by platform. | |
| accountId | No | Filter by account (from list_accounts). | |
| workspaceId | No | Narrow to a single workspace (ID from list_workspaces). Omit to search across ALL your workspaces (each post is labeled with its workspace). |