Install a theme
install_themeInstall a WordPress theme from the WordPress.org repository by slug, without activating it. Activate separately when ready.
Instructions
Install a theme from the WordPress.org repository by slug. Does not activate it — use activate_theme, or the draft workflow, afterwards.
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": {
"slug": "<slug>"
},
"name": "install_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | WordPress.org theme slug, e.g. "twentytwentyfive". | |
| site_id | No | Which configured WordPress site to act on. Optional — with a single site configured it is used automatically; with several, the default site is used unless you name one. Run list_sites for valid ids. |