# Delete cache entry

Tool: `veryfront__delete_cache_entry`

Delete one cache entry. Idempotent: an absent key returns status absent. Requires project.cache.write; API keys also need delete scope.

## 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. |
| `confirm`           | boolean                                | Yes      | Must be true to confirm the deletion                                                                                                |

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

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"ok\":true}"
      }
    ],
    "structuredContent": {
      "ok": true
    }
  }
}
```
