List posts
list_postsList workspace posts (newest first, by creation time) with a compact projection: id, status, scheduled time, content preview, target accounts, and per-account failure summaries. Filter by status (pending | processing | completed | failed | pending_approval), by platform, and/or by a dateFrom/dateTo window (inclusive ISO bounds) over scheduledTime (the time a post is SET to go out). Undated posts match no window (pass neither bound to see them), there is no published-at field, and retry_post/reschedule_post/edit_post all overwrite scheduledTime, so a window answers "scheduled for", never "published in". Every filter runs in the database, so a filtered question costs the matches and not the workspace. Pages with limit + cursor: the reply carries returned, hasMore and nextCursor. totalMatching counts only what has been read so far (with totalMatchingIsAtLeast it is a floor, not the total), so counting or summarising every match takes every page; hasMore is false on the last 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 |
|---|---|---|---|
| limit | No | Posts per page (default 25, max 200) | |
| start | No | Pagination offset (default 0) | |
| cursor | No | nextCursor of the previous page: resume right after it | |
| dateTo | No | Only posts with scheduledTime on/before this ISO date | |
| status | No | Only posts with this processingStatus | |
| dateFrom | No | Only posts with scheduledTime on/after this ISO date | |
| platform | No | Only posts targeting at least one account on this platform | |
| workspace | No | Act in a team workspace: the owner's id from whoami's memberOfWorkspaces[].ownerId. Omit to act in your own workspace. |