# Delete project file draft

Tool: `veryfront__delete_project_file_draft`

Delete file draft. Requires project.files.write; API keys also need delete scope.

## Arguments

| Name                | Type                  | Required | Description                                                          |
| ------------------- | --------------------- | -------- | -------------------------------------------------------------------- |
| `project_reference` | string                |          | Project ID or slug; defaults to the current project.                 |
| `branch_reference`  | string · min length 1 |          | Branch name or UUID. Omit for main; a missing selection is an error. |
| `path`              | string · min length 1 | Yes      | Source-file path or UUID in the selected project/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_project_file_draft",
    "arguments": {
      "path": "string"
    }
  }
}'
```

## Example response

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