get_posts
List and paginate Ghost CMS posts with sorting, NQL filters, field selection, content formats, and relation includes; returns a compact field set by default.
Instructions
List posts (paginated). Returns a compact set of fields by default; pass fields to override. [GET /admin/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": "get_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1. | |
| limit | No | Records per page (Ghost default 15, maximum 100). | |
| order | No | Sort order, for example published_at desc. | |
| fields | No | Comma-separated list of fields to return, for example id,title,slug. Default: id,title,slug,status,updated_at,published_at,meta_title,meta_description,og_title,og_description. | |
| filter | No | NQL filter, for example status:published+tag:news. | |
| formats | No | Comma-separated content formats to return: html, plaintext, lexical. | |
| include | No | Comma-separated relations to include, for example tags,authors. Default: tags. |