WordPress / API Reference
wp_clear_cache
WordPress tool. Clear WordPress caches (object cache, page cache, transients). Requires wp-mcp companion plugin.
This is a read-only tool: it returns clear cache for your WordPress account. It changes nothing.
Ask Claude
You do not call this tool yourself. Ask for the outcome and the client picks the tool:
Clear cache in my WordPress account.
It takes 0 required and 1 optional parameter.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
cache_type | string | No | Cache Type |
Related WordPress tools
wp_clear_all_cacheswp_clear_all_transientswp_clear_elementor_cachewp_clear_litespeed_cachewp_clear_object_cachewp_clear_sidebar
Start free — 30 tool calls a month
No card required. Connect Google Ads, Meta Ads, GA4 or Search Console and ask Claude for the outcome — it picks the tool.