list_posts
Retrieve blog posts with pagination, sorting by newest or oldest, and control the number of posts displayed per page.
Instructions
List blog posts with pagination.
Args: sort_by: Sort order - 'newest' or 'oldest' (default: 'newest') page: Page number (default: 1) limit: Number of posts per page, max 10 (default: 10)
Returns: List of post summaries with metadata
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 |
|---|---|---|---|
| sort_by | No | newest | |
| page | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||