# veryfront__update_upload_visibility

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

Risk: mutating.

## Arguments

| Name                | Type   | Required | Description                                                                                                                                                        |
| ------------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `upload_path`       | string | Yes      | Project-relative upload path or folder prefix, not URL-encoded. An existing folder also matches without its trailing slash.                                        |
| `visibility`        | string | Yes      | 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` | string |          | Project UUID, slug or configured domain; optional when the selected context supplies a project.                                                                    |

## Call it

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