Update WordPress plugins
wp_update_pluginsUpdate all installed plugins on a WordPress site with a single command. Use the dry-run option to preview available updates without applying changes.
Instructions
Update all plugins for a site (wp plugin update --all).
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": "wp_update_plugins"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Domain (example.com) or absolute docroot path | |
| dryRun | No | Only report available updates |