# Get cache entry

Tool: `veryfront__get_cache_entry`

Read one cache entry. A missing or expired key returns found=false, not an error. Requires project.cache.read.

## Arguments

| Name                | Type                                   | Required | Description                                                                                                                         |
| ------------------- | -------------------------------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| `project_reference` | string                                 |          | Project ID or slug; optional on a project-scoped connection                                                                         |
| `key`               | string · min length 1 · max length 512 | Yes      | Cache key, 1 to 512 characters: letters, digits, underscore, colon, dot, hyphen and slash. No "." or ".." segments between slashes. |

## 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__get_cache_entry",
    "arguments": {
      "key": "a"
    }
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"project_id\":\"string\",\"key\":\"string\",\"found\":false,\"value\":\"string\",\"expires_at\":\"2026-01-01T00:00:00Z\"}"
      }
    ],
    "structuredContent": {
      "project_id": "string",
      "key": "string",
      "found": false,
      "value": "string",
      "expires_at": "2026-01-01T00:00:00Z"
    }
  }
}
```
