manage_plugin
List, activate, deactivate, install from a WP.org slug, or delete WordPress plugins; install then activate to add a new plugin.
Instructions
Manage plugins. Actions: list, activate, deactivate, install (from a wordpress.org slug), delete. Use install then activate to add a new plugin from the WP.org directory.
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": {
"action": "<action>"
},
"name": "manage_plugin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | list | |
| plugin | No | Plugin file (e.g. woocommerce/woocommerce.php) or, for install, the WP.org slug (e.g. woocommerce). |