Delete upload folder

Delete a folder's visibility settings and child folders and soft-delete every upload under its prefix. Requires project.uploads.write; API keys also need delete scope.

Arguments

  • folder_pathstring · min length 1

    Folder prefix whose visibility settings and contained files are removed; files are soft-deleted. Requires upload write and path edit access.

  • pathstring · min length 1

    Another spelling of folder_path. Send one of the two.

  • confirmbooleanrequired

    Must be true to confirm folder deletion and soft deletion of contained files.

  • project_referencestring · min length 1

    Project ID or slug.

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

The tool ran; its output is result.structuredContent.