Purge LiteSpeed cache
wp_purge_lscachePurge the full LiteSpeed cache for a website from the hosting fleet to serve the most current content to visitors.
Instructions
Purge the full LiteSpeed (LSCache) cache for a site. Note: restarting lsws is NOT the same as purging the cache.
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_purge_lscache"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Domain (example.com) or absolute docroot path |