List posts
list_postsList the organization's posts, newest scheduled time first unless sortBy/sortOrder say otherwise. Use this to find a post's ID before getting, updating, rescheduling, cancelling, or retrying it. Filter by status or a scheduled-time window. Returns compact post summaries (draft posts have scheduledAt: null and sort last in either direction; use get_post for full detail).
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 |
|---|---|---|---|
| page | No | Page number, 1-based (default 1) | |
| limit | No | Page size (max 100, default 20) | |
| sortBy | No | Column to order by, across every page (default scheduledAt). publishedAt puts unpublished posts last. | |
| status | No | Only return posts in this status | |
| sortOrder | No | desc (default here) = newest first; asc = oldest first, e.g. the next scheduled post with status SCHEDULED | |
| organizationId | No | Organization to act in — an id from list_organizations. Required when this connection was authorized for more than one organization; omit it when there is only one. | |
| scheduledAfter | No | ISO-8601 lower bound on scheduledAt | |
| scheduledBefore | No | ISO-8601 upper bound on scheduledAt |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| limit | No | ||
| posts | No | ||
| total | No | ||
| totalPages | No |