Delete project file draft

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

Arguments

  • project_referencestring

    Project ID or slug; defaults to the current project.

  • branch_referencestring · min length 1

    Branch name or UUID. Omit for main; a missing selection is an error.

  • pathstring · min length 1required

    Source-file path or UUID in the selected project/branch.

Responses

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"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"ok\":true}"      }    ],    "structuredContent": {      "ok": true    }  }}

The tool ran; its output is result.structuredContent.