Delete cache entries

veryfront__delete_cache_entries

Pattern * clears the project cache.

Requires project.cache.write; API keys also need delete scope.

Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

Call type: Can change resources.

Arguments

FieldTypeRequiredDescription and constraints
project_referencestringNoProject ID or slug; optional on a project-scoped connection
patternstringYesGlob pattern over keys. Required; * deletes every entry in the project cache. Minimum length: 1. Maximum length: 512.
confirmbooleanYesMust be true to confirm the deletion Value: true.

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__delete_cache_entries",
    "arguments": {
      "pattern": "example",
      "confirm": true
    }
  }
}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
okbooleanYesValue: true.

Full schemas

json
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "description": "Project ID or slug; optional on a project-scoped connection"
    },
    "pattern": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512,
      "pattern": "^[a-zA-Z0-9_:.*\\-/]+$",
      "description": "Glob pattern over keys. Required; `*` deletes every entry in the project cache."
    },
    "confirm": {
      "type": "boolean",
      "const": true,
      "description": "Must be true to confirm the deletion"
    }
  },
  "required": [
    "pattern",
    "confirm"
  ],
  "additionalProperties": false,
  "description": "Arguments for the delete_cache_entries tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
json
{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "const": true
    }
  },
  "required": [
    "ok"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the delete_cache_entries tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}