# List cache entries

Tool: `veryfront__list_cache_entries`

List cache entry keys and expiry in a project, optionally filtered by a glob pattern. Results follow Redis scan order and carry no values. Requires project.cache.read.

## Arguments

| Name                | Type                                   | Required | Description                                                                                                        |
| ------------------- | -------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------ |
| `project_reference` | string                                 |          | Project ID or slug; optional on a project-scoped connection                                                        |
| `pattern`           | string · min length 1 · max length 512 |          | Glob pattern over keys, such as `transform:*`: 1 to 512 key characters, with \* for any sequence. Defaults to `*`. |
| `cursor`            | string · min length 1                  |          | Opaque page\_info.next from a previous page, bound to the same project and pattern. Expires after five minutes.    |
| `limit`             | integer · min 1 · max 100              |          | Entries per page, 1 to 100. Defaults to 20.                                                                        |

## Responses

| Status | Description                                           |
| ------ | ----------------------------------------------------- |
| 200    | The tool ran; its output is result.structuredContent. |

## Call it

```bash
curl -X POST -N "https://api.veryfront.com/mcp" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Accept: application/json, text/event-stream" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__list_cache_entries",
    "arguments": {}
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"data\":[{\"key\":\"string\",\"expires_at\":\"2026-01-01T00:00:00Z\"}],\"page_info\":{\"self\":\"string\",\"first\":null,\"next\":\"string\",\"prev\":null}}"
      }
    ],
    "structuredContent": {
      "data": [
        {
          "key": "string",
          "expires_at": "2026-01-01T00:00:00Z"
        }
      ],
      "page_info": {
        "self": "string",
        "first": null,
        "next": "string",
        "prev": null
      }
    }
  }
}
```
