Update upload grant

veryfront__update_upload_grant

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_pathstringYesUpload 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.
user_idstringYesUUID of the user the grant is for. Format: uuid.
permissionstringNoAccess to give: read (default), write or admin. Default: "read". Values: "read", "write", "admin".
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_grant",
    "arguments": {
      "upload_path": "example",
      "user_id": "00000000-0000-4000-8000-000000000000"
    }
  }
}

Result

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

FieldTypeRequiredDescription and constraints
user_idstringYesUUID of the user the grant is for.
permissionstringYesAccess the grant gives: read, write or admin. Values: "read", "write", "admin".
created_atstringYesCreation time, RFC 3339.

Full schemas

json
{
  "type": "object",
  "properties": {
    "upload_path": {
      "type": "string",
      "minLength": 1,
      "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."
    },
    "user_id": {
      "type": "string",
      "format": "uuid",
      "description": "UUID of the user the grant is for."
    },
    "permission": {
      "type": "string",
      "enum": [
        "read",
        "write",
        "admin"
      ],
      "description": "Access to give: read (default), write or admin.",
      "default": "read"
    },
    "project_reference": {
      "type": "string",
      "description": "Project UUID, slug or configured domain; optional when the selected context supplies a project."
    }
  },
  "required": [
    "upload_path",
    "user_id"
  ],
  "additionalProperties": false,
  "description": "Arguments for the update_upload_grant tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
json
{
  "type": "object",
  "properties": {
    "user_id": {
      "type": "string",
      "description": "UUID of the user the grant is for."
    },
    "permission": {
      "type": "string",
      "enum": [
        "read",
        "write",
        "admin"
      ],
      "description": "Access the grant gives: read, write or admin."
    },
    "created_at": {
      "type": "string",
      "description": "Creation time, RFC 3339."
    }
  },
  "required": [
    "user_id",
    "permission",
    "created_at"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the update_upload_grant tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}