Search Posts
search_postsFinds posts by keyword across content and title, with optional filters (platforms, statuses, date range, campaign). Results are paginated: the opaque next_cursor, sent back as cursor, returns the next page. Concise rows carry scheduled_date, published_date and created_at, plus published_at and published_url for a published post and publish_error for a failed or held publish. Archived posts are left out unless a filter asks for them (statuses: ['archived']).
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": "search_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results to return (default 25, max 100). | |
| query | No | Keyword(s) to search content + title (case-insensitive). | |
| cursor | No | Opaque cursor returned by the previous page. | |
| end_date | No | Returns posts scheduled on or before this date. | |
| statuses | No | Limits results to these statuses. | |
| platforms | No | Limits results to these platforms. | |
| start_date | No | Returns posts scheduled on or after this date. | |
| campaign_id | No | Limits results to posts in this campaign. | |
| response_format | No | concise (default) returns previews; detailed returns full content. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| count | Yes | ||
| results | Yes | ||
| next_cursor | Yes | ||
| response_format | Yes |