wp_get_content
List posts or pages from a WordPress site, filtering by type and optional search terms.
Instructions
List posts/pages on an install (lean: id, title, slug, status, type).
post_type defaults to 'page'. query is an optional simple search term.
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": {
"install": "<install>"
},
"name": "wp_get_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| install | Yes | ||
| post_type | No | page |