List posts
list_postsLists this account’s drafts, scheduled posts, or sent posts. Each row includes has_media, media_count, media_type (photo, video, or pdf), and media_urls stored on the content row, which show whether media is attached, media_alt_text (the alt text of each image, aligned with media_urls, null for an image without it; null when there are no images), plus first_comment and auto_react when set, mentions (the company pages tagged in the text), created_via (where the post was written: the PostPen editor or the agent that saved it; null when not recorded), preview_url (a link that opens the post in PostPen), publish_to_linkedin (false when it only goes to other networks), and networks: each network the post goes to with its destination id, the text it publishes there, status (draft, scheduled, processing, published, or failed), url once published, error, failed_at (when it failed), and deleted_at (when someone deleted the published post on X, Facebook, Instagram, Threads or YouTube; PostPen checks published posts from time to time, and url is then null; LinkedIn posts are not checked), and first_comment: what happened to the post’s first comment on that network ({ status: posted, skipped or failed, note saying why, url where the network gives one }; null on LinkedIn or when there was none).
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": {
"status": "<status>"
},
"name": "list_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many rows to return. Defaults to 50. | |
| status | Yes | Which queue to read. |