Delete project resource

Delete the source file of a project resource that is no longer needed; returns an acknowledgement. Requires project.files.write.

Arguments

  • project_referencestring

    Project ID or slug

  • resource_idstring · min length 1required

    The resource id associated with this record.

  • confirmboolean

    Send true to confirm the deletion. A call without it is refused and deletes nothing.

  • source_target_kindstring

    The source to write: project (the default) or preview_branch. One of project, preview_branch.

  • target_branch_idstring · uuid | null

    The preview branch to write. Required with preview_branch and not accepted with project.

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

The tool ran; its output is result.structuredContent.