Purge the WordPress cache
wp_cache_purgeEmpty the page cache and the object cache of a live WordPress site, so the next visit shows the current content. Refusals: not-live, migration-open, deploy-open, busy, failed.
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": {
"serviceId": "<serviceId>"
},
"name": "wp_cache_purge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serviceId | Yes | the id of a service on this account |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No |