Plugin action
wp_plugin_actionManage WordPress plugins by installing from wordpress.org, activating, deactivating, or deleting them; deletion requires an explicit confirm value.
Instructions
Activate, deactivate, install (from wordpress.org by slug) or delete a plugin. Deletion requires confirm:"delete". Activating an untrusted plugin is a security decision.
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": "wp_plugin_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | wordpress.org slug, for install | |
| action | Yes | ||
| plugin | No | Plugin file, e.g. elementor/elementor.php | |
| confirm | No |