# Create upload folder

Tool: `veryfront__create_upload_folder`

Create a folder in project uploads with a visibility. Requires project.uploads.write.

## Arguments

| Name                | Type                     | Required | Description                                                                                                                                                                                               |
| ------------------- | ------------------------ | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `project_reference` | string · min length 1    |          | Project ID or slug.                                                                                                                                                                                       |
| `folder_path`       | string · min length 1    |          | Folder path; a trailing slash is appended when absent.                                                                                                                                                    |
| `path`              | string · min length 1    |          | Another spelling of folder\_path. Send one of the two.                                                                                                                                                    |
| `visibility`        | string · default project |          | Folder visibility; defaults to project. Changes from inherited visibility require path admin access. Public visibility follows the configured paid-feature policy. One of `project`, `public`, `private`. |

## Responses

| Status | Description                                           |
| ------ | ----------------------------------------------------- |
| 200    | The tool ran; its output is result.structuredContent. |

## Call it

```bash
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__create_upload_folder",
    "arguments": {}
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"path\":\"string\",\"visibility\":\"project\",\"permission\":\"read\",\"created_at\":\"string\"}"
      }
    ],
    "structuredContent": {
      "path": "string",
      "visibility": "project",
      "permission": "read",
      "created_at": "string"
    }
  }
}
```
