royal-mcp__wp_search
Search all content. Pass snippet>0 to receive a content excerpt around each match (saves tokens vs. fetching each result with wp_get_page). Each result includes content_length (bytes of stored content) for size triage. (site: demo.royalplugins.com) Through Royally: read-only, runs straight away.
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": "royal-mcp__wp_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| status | No | publish (default), one status, or any (every status you can read except trash), so a draft you just created can be found. | |
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| snippet | No | Snippet length in characters around the matched term (default 0 = off, recommended 160-240). When set, results include slug and snippet fields. | |
| per_page | No | Number of results (default 20, max 100) | |
| post_type | No |