Delete a plugin
delete_pluginRemove an installed WordPress plugin permanently after deactivating it. Confirmation required; files and database tables are deleted.
Instructions
Delete an installed plugin from the server. The plugin must be inactive first. Files are removed permanently; many plugins also drop their database tables on uninstall. Requires confirm: true.
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": {
"plugin": "<plugin>"
},
"name": "delete_plugin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plugin | Yes | Plugin identifier, e.g. "hello-dolly/hello". | |
| confirm | No | Required — plugin files are permanently removed. | |
| 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. |