wp_list_posts
READ-ONLY, LIVE from the WordPress site. Blog posts (id, status, title, slug, link, dates, categories, tags, excerpt, content length), newest first. Filters: status (any|draft|pending|publish|future|private|trash), search. With post_id returns that single post including its full HTML content (use it before wp_update_post).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site_id": "<site_id>"
},
"name": "wp_list_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max posts (default 20, cap 200) | |
| search | No | Testo da cercare nel titolo o nel contenuto. | |
| status | No | Stato articolo WordPress: draft, pending, publish, future, private. | |
| post_id | No | Id articolo WordPress (da wp_list_posts). | |
| site_id | Yes | From wp_list_sites |