# Delete eval

Tool: `veryfront__delete_eval`

Delete the source file of a structured eval that is no longer needed, from the project source or a preview branch; returns an acknowledgement, or a conflict when the file must be edited in code because it defines other evals or builds the eval in code. Requires project.evals.write; API keys also need delete scope.

## Arguments

| Name                 | Type                  | Required | Description                                                     |
| -------------------- | --------------------- | -------- | --------------------------------------------------------------- |
| `project_reference`  | string · min length 1 |          | Project identifier or slug that scopes the tool call.           |
| `eval_id`            | string · min length 1 | Yes      | Provide the eval id.                                            |
| `source_target_kind` | string                |          | Source to use: project or preview\_branch. Defaults to project. |
| `target_branch_id`   | string · uuid \| null |          | Preview branch to use when the target kind is preview\_branch.  |

## 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_eval",
    "arguments": {
      "eval_id": "string"
    }
  }
}'
```

## Example response

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