wp_plugin_artifacts
Remove leftover database tables and options from deleted WordPress plugins like Yoast, Rank Math, WooCommerce, and Jetpack. Supports dry-run to preview changes before deleting.
Instructions
Remove database artifacts (tables and options) left behind by deleted plugins. Supports Yoast, Rank Math, AIOSEO, WP Activity Log, RevSlider, LayerSlider, WooCommerce, and Jetpack.
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_id": "<site_id>"
},
"name": "wp_plugin_artifacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, only report what would be deleted without making changes (default: false) | |
| plugins | No | List of plugins to clean up. Options: 'yoast', 'rankmath', 'aioseo', 'wsal', 'revslider', 'layerslider', 'woocommerce', 'jetpack'. Leave empty to clean all detected artifacts. | |
| site_id | Yes | WP Engine environment name (e.g., 'reynoldstransf') |