List cache entries

veryfront__list_cache_entries

Results follow Redis scan order and carry no values.

Requires project.cache.read.

Access

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

Call type: Read-only.

Arguments

FieldTypeRequiredDescription and constraints
project_referencestringNoProject ID or slug; optional on a project-scoped connection
patternstringNoGlob pattern over keys, such as transform:*: 1 to 512 key characters, with * for any sequence. Defaults to *. Minimum length: 1. Maximum length: 512.
cursorstringNoOpaque page_info.next from a previous page, bound to the same project and pattern. Expires after five minutes. Minimum length: 1.
limitintegerNoEntries per page, 1 to 100. Defaults to 20. Minimum: 1. Maximum: 100.

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__list_cache_entries",
    "arguments": {}
  }
}

Result

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

FieldTypeRequiredDescription and constraints
dataobject[]YesCache entries in Redis scan order; pages can repeat a key.
page_infoobjectYesPagination cursors.

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, such as `transform:*`: 1 to 512 key characters, with * for any sequence. Defaults to `*`."
    },
    "cursor": {
      "type": "string",
      "minLength": 1,
      "description": "Opaque page_info.next from a previous page, bound to the same project and pattern. Expires after five minutes."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "description": "Entries per page, 1 to 100. Defaults to 20."
    }
  },
  "additionalProperties": false,
  "description": "Arguments for the list_cache_entries tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "Cache key."
          },
          "expires_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null",
                "description": "The expires at returned by the tool."
              }
            ],
            "description": "RFC 3339 UTC time the entry expires, or null for a miss or for an entry written through the legacy no-expiry path (ttl=0)."
          }
        },
        "required": [
          "key",
          "expires_at"
        ],
        "additionalProperties": false,
        "description": "A cache entry without its value."
      },
      "description": "Cache entries in Redis scan order; pages can repeat a key."
    },
    "page_info": {
      "type": "object",
      "properties": {
        "self": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor that produced this page, or null for the first page."
        },
        "first": {
          "type": "null",
          "description": "Always null."
        },
        "next": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor for the next page, or null when the listing is complete."
        },
        "prev": {
          "type": "null",
          "description": "Always null; scan order has no previous page."
        }
      },
      "required": [
        "self",
        "first",
        "next",
        "prev"
      ],
      "additionalProperties": false,
      "description": "Pagination cursors."
    }
  },
  "required": [
    "data",
    "page_info"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the list_cache_entries tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}