Update WordPress
wp_update_coreUpdate WordPress core site-wide to the first version offered by WordPress's core updater. A preview with a confirm_token is returned first so nothing changes until you confirm.
Instructions
Update WordPress core itself (not plugins or themes) to the first version WordPress offers, with WordPress's own core updater; it checks for offers first, and wp_get_update_status shows them. Already current: updated false with a message; otherwise updated true and new_version, or the updater's error. Needs update_core; refused when DISALLOW_FILE_MODS is set. Replaces core files site-wide. Unlike wp_update_plugin, AlphaBridge runs no test requests and puts nothing back; no undo point is recorded. Runs in two steps: a call without confirm_token changes nothing and returns a preview with a confirm_token, and the same call with that token runs it. This guards against a call nobody meant; it does not make the change reversible.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wp_update_core"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm_token | No | Confirmation from the preview: a call without it changes nothing and answers with a preview and a confirm_token, and the same arguments with that token run the tool. A token is valid for 10 minutes and only while what it covers is unchanged. |