Search Postlyra content
search_postsUse when finding any existing Postlyra post, including scheduled, published or archived content. Search owner content by words, status, connected channel and update dates. Read the selected post with get_post.
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 |
|---|---|---|---|
| to | No | Inclusive upper update-time bound as ISO 8601 with UTC offset, e.g. 2026-10-28T18:00:00+07:00. | |
| from | No | Inclusive lower update-time bound as ISO 8601 with UTC offset, e.g. 2026-10-28T09:00:00+07:00. | |
| limit | No | Maximum items to return in this page; observe the schema bounds. | |
| query | No | Keywords or fragments in the post title and body; all terms must match. Empty or omitted lists posts. | |
| offset | No | Zero-based number of matching items to skip; use nextOffset from the preceding page. | |
| status | No | Filter by the post status, e.g. draft or published. | |
| channelId | No | Owner-bound channel id from list_channels; never invent a recipient. | |
| includeArchived | No | Include archived posts in results; false by default unless status=archived. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| message | Yes |