Update upload visibility

Set an upload's or folder's visibility to project, public or private. Requires project.uploads.admin.

Arguments

  • upload_pathstring · min length 1required

    Project-relative upload path or folder prefix, not URL-encoded. An existing folder also matches without its trailing slash.

  • visibilitystringrequired

    Visibility to store for the path: project means project members, public means anyone and private means granted users only; public follows the paid-project policy. One of project, public, private.

  • project_referencestring

    Project UUID, slug or configured domain; optional when the selected context supplies a 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__update_upload_visibility",    "arguments": {      "upload_path": "string",      "visibility": "project"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"path\":\"string\",\"visibility\":\"project\"}"      }    ],    "structuredContent": {      "path": "string",      "visibility": "project"    }  }}

The tool ran; its output is result.structuredContent.