list_posts
Retrieve and search posts of any type using filters for post type, status, author, taxonomy, search term, meta query, ordering, and pagination to find the exact content needed.
Instructions
List/search posts of any type with filters: post_type, status, search term, author, taxonomy term, meta query, ordering, and pagination.
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 |
|---|---|---|---|
| tag | No | ||
| page | No | ||
| order | No | DESC | |
| author | No | ||
| search | No | ||
| status | No | any | |
| orderby | No | date | |
| category | No | ||
| per_page | No | ||
| post_type | No | post |