Search the theme repository
search_themesSearch the WordPress.org theme directory to get slug, rating, installs, compatibility, and block theme status—enough to choose a theme before installing.
Instructions
Search the public WordPress.org theme directory. Returns slug, version, rating, install count, last-updated date, compatibility and whether it is a block theme — enough to choose one before install_theme. This queries WordPress.org, not your site.
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": {
"search": "<search>"
},
"name": "search_themes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Which page of results to return. | |
| search | Yes | What to search for, e.g. "portfolio" or "minimal blog". | |
| per_page | No | How many results per page. | |
| block_themes_only | No | Only return block (full-site-editing) themes. |