veryfront__update_upload_grants
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
| Field | Type | Required | Description and constraints |
|---|---|---|---|
upload_path | string | Yes | Upload UUID for grants on that upload, or an upload path or folder prefix resolved to the folder setting that governs it. Do not URL-encode it. Minimum length: 1. |
grants | object[] | Yes | The complete replacement list. An empty list revokes every grant. |
confirm | boolean | Yes | Must be true to confirm replacing the whole grant list; an empty list revokes every grant. |
project_reference | string | No | Project 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.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__update_upload_grants",7 "arguments": {8 "upload_path": "example",9 "grants": [],10 "confirm": true11 }12 }13}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
data | object[] | Yes | Primary result records returned by the tool. |
resolved_path | string | Yes | Path of the upload or folder the grants are stored on. |
resolved_type | string | Yes | Whether the grants are stored on an upload or a folder. Values: "upload", "folder". |
resolved_id | string | Yes | UUID of that upload or folder. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "upload_path": {5 "type": "string",6 "minLength": 1,7 "description": "Upload UUID for grants on that upload, or an upload path or folder prefix resolved to the folder setting that governs it. Do not URL-encode it."8 },9 "grants": {10 "type": "array",11 "items": {12 "type": "object",13 "properties": {14 "user_id": {15 "type": "string",16 "format": "uuid",17 "description": "UUID of the user the grant is for."18 },19 "permission": {20 "type": "string",21 "enum": [22 "read",23 "write",24 "admin"25 ],26 "description": "Access to give: read (default), write or admin.",27 "default": "read"28 }29 },30 "required": [31 "user_id"32 ],33 "additionalProperties": false,34 "description": "One grant item supplied to the tool."35 },36 "description": "The complete replacement list. An empty list revokes every grant."37 },38 "confirm": {39 "type": "boolean",40 "description": "Must be true to confirm replacing the whole grant list; an empty list revokes every grant."41 },42 "project_reference": {43 "type": "string",44 "description": "Project UUID, slug or configured domain; optional when the selected context supplies a project."45 }46 },47 "required": [48 "upload_path",49 "grants",50 "confirm"51 ],52 "additionalProperties": false,53 "description": "Arguments for the update_upload_grants tool.",54 "$schema": "http://json-schema.org/draft-07/schema#"55}output-schema.json
1{2 "type": "object",3 "properties": {4 "data": {5 "type": "array",6 "items": {7 "type": "object",8 "properties": {9 "user_id": {10 "type": "string",11 "description": "UUID of the user the grant is for."12 },13 "permission": {14 "type": "string",15 "enum": [16 "read",17 "write",18 "admin"19 ],20 "description": "Access the grant gives: read, write or admin."21 },22 "created_at": {23 "type": "string",24 "description": "Creation time, RFC 3339."25 }26 },27 "required": [28 "user_id",29 "permission",30 "created_at"31 ],32 "additionalProperties": false33 },34 "description": "Primary result records returned by the tool."35 },36 "resolved_path": {37 "type": "string",38 "description": "Path of the upload or folder the grants are stored on."39 },40 "resolved_type": {41 "type": "string",42 "enum": [43 "upload",44 "folder"45 ],46 "description": "Whether the grants are stored on an upload or a folder."47 },48 "resolved_id": {49 "type": "string",50 "description": "UUID of that upload or folder."51 }52 },53 "required": [54 "data",55 "resolved_path",56 "resolved_type",57 "resolved_id"58 ],59 "additionalProperties": false,60 "description": "Structured result returned by the update_upload_grants tool.",61 "$schema": "http://json-schema.org/draft-07/schema#"62}