pressable_purge_edge_cache
Clear cached content from edge servers for a WordPress site to ensure visitors see the most recent version of your pages.
Instructions
Purge the edge cache for a specific site.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Site ID or name |
Implementation Reference
- tools/cache.js:24-26 (handler)The handler function that executes the purge edge cache operation by calling the API.
handler: async (args) => { return await api.post(`/sites/${args.id}/edge-cache/purge`); } - tools/cache.js:19-23 (schema)Input schema definition for the pressable_purge_edge_cache tool.
inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'Site ID or name' } }, required: ['id'] }, - tools/cache.js:16-27 (registration)The registration object for the pressable_purge_edge_cache tool.
{ name: 'pressable_purge_edge_cache', description: 'Purge the edge cache for a specific site.', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'Site ID or name' } }, required: ['id'] }, handler: async (args) => { return await api.post(`/sites/${args.id}/edge-cache/purge`); } },