List posts
postkey_list_postsPostkey: Lists the profile's posts, newest first, one page at a time: id, status, title, the start of the caption, type, keyword, time (time_means: posted, scheduled, planned, updated or created), the accounts each goes to, and can_edit (false: postkey_update_post would refuse it; for a draft, edit_note says why and what to do). Use it to find a post id; use postkey_get_post for one post's full caption, media and each account's outcome, postkey_list_waiting_for_approval for what waits for a person, and postkey_get_post_stats for views and likes. Pass next_cursor as cursor for the next page (null: the last page). Only the newest 1,000 posts are listed.
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": "postkey_list_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many to return, 1 to 50. Default 20. | |
| cursor | No | The next_cursor of the previous answer, as it was. Leave out for the first page. | |
| status | No | "all" (default). "in_progress": ideas and unfinished posts. "draft": saved to Drafts, not sent. "ready": waiting for a person in Posts > Approvals. "scheduled": on the schedule. "posted": published. "failed": the posting service could not publish it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | false: refused (isError; code, message, guide_topic, url); no change. | |
| note | No | Present when older posts were left out. | |
| posts | No | Newest first: id, status, detail_status, can_edit, edit_note (drafts only), title, caption_start, type, keyword, time, time_means, media_files, goes_to, failed_accounts, link. | |
| total | No | Posts matching the filter. | |
| next_cursor | No | Pass as cursor for the next page; null on the last page. |