mainwp_plugins_deactivate
Deactivate one or more plugins on a WordPress site by site ID or domain. Specify plugin slugs and optionally simulate the operation with a dry run.
Instructions
Deactivate one or more plugins on a WordPress site
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": {
"site": "<site>",
"plugins": "<plugins>"
},
"name": "mainwp_plugins_deactivate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site ID (number) or domain name (e.g., "1" or "pavinglist.com") | |
| dry_run | No | Simulate the operation without making changes (defaults to MAINWP_ENABLE_DRY_RUN_BY_DEFAULT) | |
| plugins | Yes | Plugin slug(s) to deactivate, comma-separated |