Search posts
search_postsFind or list published posts. Returns slug, title, description, canonical URL, Markdown URL and last updated date for each match, newest updated first, without the post body. Use this first to discover slugs, then call get_post_markdown for the full text. Matches query case-insensitively against title, description and body; omit query to list the newest posts.
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 | Maximum number of posts to return, 1 to 50. Defaults to 20. | |
| query | No | Case-insensitive text to find in post titles, descriptions and bodies, up to 200 characters. Omit or leave empty to list posts newest first. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| posts | Yes |