Install a plugin
install_pluginInstall a WordPress plugin from the WordPress.org repository by its slug, with optional immediate activation after installation.
Instructions
Install a plugin from the WordPress.org repository by its slug, optionally activating it straight away. Search first with search_plugins to get the right slug. Installation writes files to the server and needs filesystem write access.
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_plugin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | WordPress.org plugin slug, e.g. "classic-editor". Find it with search_plugins. | |
| 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. | |
| activate | No | Activate immediately after installing. |