Update upload visibility

veryfront__update_upload_visibility

Requires project.uploads.admin.

Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

Call type: Can change resources.

Arguments

FieldTypeRequiredDescription and constraints
upload_pathstringYesProject-relative upload path or folder prefix, not URL-encoded. An existing folder also matches without its trailing slash. Minimum length: 1.
visibilitystringYesVisibility to store for the path: project means project members, public means anyone and private means granted users only; public follows the paid-project policy. Values: "project", "public", "private".
project_referencestringNoProject UUID, slug or configured domain; optional when the selected context supplies a project.

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__update_upload_visibility",
    "arguments": {
      "upload_path": "example",
      "visibility": "project"
    }
  }
}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
pathstringYesPath the setting is stored on; a folder prefix ends with a slash.
visibilitystringYesStored visibility. Values: "project", "public", "private".

Full schemas

json
{
  "type": "object",
  "properties": {
    "upload_path": {
      "type": "string",
      "minLength": 1,
      "description": "Project-relative upload path or folder prefix, not URL-encoded. An existing folder also matches without its trailing slash."
    },
    "visibility": {
      "type": "string",
      "enum": [
        "project",
        "public",
        "private"
      ],
      "description": "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."
    },
    "project_reference": {
      "type": "string",
      "description": "Project UUID, slug or configured domain; optional when the selected context supplies a project."
    }
  },
  "required": [
    "upload_path",
    "visibility"
  ],
  "additionalProperties": false,
  "description": "Arguments for the update_upload_visibility tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
json
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "description": "Path the setting is stored on; a folder prefix ends with a slash."
    },
    "visibility": {
      "type": "string",
      "enum": [
        "project",
        "public",
        "private"
      ],
      "description": "Stored visibility."
    }
  },
  "required": [
    "path",
    "visibility"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the update_upload_visibility tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}