# clear_blog_cache (/docs/mcp/tools/clear-blog-cache)

{/* Generated by scripts/sync-mcp-tools.mjs from happierleads-api. Do not edit: change src/routes/mcp/toolDocs.json there, or add content/mcp-notes/clear_blog_cache.mdx. */}

**Refresh blog cache** · Changes data

Clears every cached copy of the website's hosted blog (Optimize add-on), so visitors get the latest version on their next page load. Use it when a published change does not show yet. It changes no content and costs nothing. Returns \{ status, site \}. Errors: 403 without the Optimize add-on or the SEO permission, 404 when the blog is not set up.

| Connection | Account-owner URL or OAuth (not a team member URL) |
| --- | --- |

## Parameters [#parameters]

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `websiteId` | `string` | Yes | Website ID from list_websites. |

## Tool definition [#tool-definition]

What your assistant receives from `tools/list`:

```json
{
  "name": "clear_blog_cache",
  "title": "Refresh blog cache",
  "annotations": {
    "title": "Refresh blog cache",
    "readOnlyHint": false,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "websiteId": {
        "type": "string",
        "description": "Website ID from list_websites."
      }
    },
    "required": [
      "websiteId"
    ]
  }
}
```
