List posts
list_postsList posts on the blog. Defaults to published posts. Pass status: 'draft' for drafts.
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 |
|---|---|---|---|
| status | No | "published" (default) lists live posts, newest published first; "draft" lists drafts, newest created first. | |
| blog_id | No | Your blog's id, as returned by signup. Optional with an API key: it defaults to the key's blog, and any id you pass must be that blog. Required when the server runs without API keys. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only on failure (isError: true). Success fields are absent then. | |
| posts | No |