Posts
list_postsPosts, most recent first by when they went out (still-to-come posts are always included). Filter by status, channel, network, tag, a from/to window, or failedOnly for posts with a channel that failed. Each channel's status, link, error, errorCode and whether it is permanent. Page with cursor: pass back nextCursor until it is absent — a page can hold fewer than limit after filtering. get_post gives one post in full.
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 |
|---|---|---|---|
| to | No | ISO time, the end of the window. | |
| tag | No | Only posts with this tag, by name, such as a campaign. | |
| days | No | Without from/to: how far back published posts go, at most 730. Posts still to come are always included. Defaults to 30. | |
| from | No | ISO time. With to, only posts that went out (or are due) in [from, to). | |
| limit | No | Posts read per page, at most 100. Defaults to 20. | |
| cursor | No | nextCursor from the previous page. | |
| status | No | Only posts in this state. Omit for all of them. | |
| network | No | Only posts going to this network. | |
| channelId | No | Only posts going to this channel, from list_channels. | |
| failedOnly | No | Only posts with at least one channel that failed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| posts | Yes | ||
| nextCursor | No | Pass as cursor for the next page. Absent on the last page. |