WordPress Suche
rest_api_searchSearch all WordPress content—posts, pages, terms, and more—by keyword, with optional type and subtype filters.
Instructions
Durchsucht alle WordPress-Inhalte (Posts, Pages, Terms, etc.)
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": {
"query": "<query>"
},
"name": "rest_api_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Typ der Suchergebnisse | |
| query | Yes | Suchbegriff | |
| subtype | No | Subtype (z.B. "post", "page", "category") | |
| per_page | No | Ergebnisse pro Seite |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| results | Yes |