Skip to main content
Delete cached values matching a pattern from a project-scoped cache

Tool details

FieldValue
Namedelete_cache_pattern
GroupCache

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "description": "Project ID or slug"
    },
    "pattern": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512,
      "pattern": "^[a-zA-Z0-9_:.*\\-/]+$",
      "description": "Pattern to match (e.g., \"transform:*\")"
    },
    "confirm": {
      "type": "boolean",
      "description": "Must be true to confirm deletion"
    }
  },
  "required": [
    "project_reference",
    "pattern",
    "confirm"
  ],
  "additionalProperties": false,
  "description": "Input schema for the delete_cache_pattern tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "pattern": {
      "type": "string",
      "description": "The pattern associated with this tool result."
    },
    "deleted_count": {
      "type": "number",
      "description": "The deleted count associated with this tool result."
    }
  },
  "required": [
    "pattern",
    "deleted_count"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the delete_cache_pattern tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}