mainwp_updates_plugins
Update plugins on a WordPress site. Specify site ID or domain, optionally target specific plugins, or simulate before applying.
Instructions
Update 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>"
},
"name": "mainwp_updates_plugins"
}
}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 | No | Specific plugin/theme slugs to update (comma-separated). Omit to update all. |