List upload grants

veryfront__list_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: Read-only.

Arguments

FieldTypeRequiredDescription and constraints
project_referencestringNoProject ID or slug. Minimum length: 1.
upload_pathstringNoUpload UUID for direct grants, or folder/file path resolved to the applicable folder visibility setting. Minimum length: 1.
pathstringNoAnother spelling of upload_path. Send one of the two. Minimum length: 1.

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__list_upload_grants",
    "arguments": {}
  }
}

Result

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

FieldTypeRequiredDescription and constraints
dataobject[]YesPrimary result records returned by the tool.
resolved_pathstringYesActual uploaded file or folder visibility path whose grants were read or replaced.
resolved_typestringYesValues: "upload", "folder".
resolved_idstringYesUUID of the resolved upload or folder. Format: uuid.

Full schemas

json
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "minLength": 1,
      "description": "Project ID or slug."
    },
    "upload_path": {
      "type": "string",
      "minLength": 1,
      "description": "Upload UUID for direct grants, or folder/file path resolved to the applicable folder visibility setting."
    },
    "path": {
      "type": "string",
      "minLength": 1,
      "description": "Another spelling of upload_path. Send one of the two."
    }
  },
  "additionalProperties": false,
  "description": "Arguments for the list_upload_grants tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "user_id": {
            "type": "string",
            "format": "uuid"
          },
          "permission": {
            "type": "string",
            "enum": [
              "read",
              "write",
              "admin"
            ]
          },
          "created_at": {
            "type": "string",
            "description": "Grant creation timestamp."
          }
        },
        "required": [
          "user_id",
          "permission",
          "created_at"
        ],
        "additionalProperties": false
      },
      "description": "Primary result records returned by the tool."
    },
    "resolved_path": {
      "type": "string",
      "description": "Actual uploaded file or folder visibility path whose grants were read or replaced."
    },
    "resolved_type": {
      "type": "string",
      "enum": [
        "upload",
        "folder"
      ]
    },
    "resolved_id": {
      "type": "string",
      "format": "uuid",
      "description": "UUID of the resolved upload or folder."
    }
  },
  "required": [
    "data",
    "resolved_path",
    "resolved_type",
    "resolved_id"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the list_upload_grants tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}