wp_theme_install
Install WordPress themes from wordpress.org with optional activation. Manage themes directly via WP-CLI commands.
Instructions
Install a theme from wordpress.org
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": "wp_theme_install"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Theme slug | |
| activate | No | Activate after install |