List uploads

veryfront__list_uploads

Requires project.uploads.read.

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
limitintegerNoFiles scanned before visibility filtering (default 20, max 100); folders are separate and unpaginated. Default: 20. Minimum: 1. Maximum: 100.
pathstringNoFolder prefix; supplied paths select direct-child files. Omit to list all project files.
recursivebooleanNoExpand nested folders; does not change file recursion. Default: true.
sort_bystringNoSort field: created_at (default), name or size_bytes (size is another spelling of it). Ties break by file ID ascending. Values: "created_at", "name", "size_bytes", "size".
sort_orderstringNoSort direction: asc or desc (default). Values: "asc", "desc".
cursorstringNoOpaque continuation; copy unchanged with the same project/path/sort. Removed anchors require restart; live changes affect traversal. Legacy timestamps retain creation cutoff semantics and cannot recover ties. Minimum length: 1. Maximum length: 4096.
project_referencestringNoProject ID or slug

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_uploads",
    "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 record collection.
page_infoobjectYesPagination cursor values for traversing the result set.
foldersobject[]YesVisible folders; separate from file pagination and not limited by file page size.

Full schemas

json
{
  "type": "object",
  "properties": {
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "description": "Files scanned before visibility filtering (default 20, max 100); folders are separate and unpaginated.",
      "default": 20
    },
    "path": {
      "type": "string",
      "description": "Folder prefix; supplied paths select direct-child files. Omit to list all project files."
    },
    "recursive": {
      "type": "boolean",
      "description": "Expand nested folders; does not change file recursion.",
      "default": true
    },
    "sort_by": {
      "type": "string",
      "enum": [
        "created_at",
        "name",
        "size_bytes",
        "size"
      ],
      "description": "Sort field: created_at (default), name or size_bytes (size is another spelling of it). Ties break by file ID ascending."
    },
    "sort_order": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ],
      "description": "Sort direction: asc or desc (default)."
    },
    "cursor": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Opaque continuation; copy unchanged with the same project/path/sort. Removed anchors require restart; live changes affect traversal. Legacy timestamps retain creation cutoff semantics and cannot recover ties."
    },
    "project_reference": {
      "type": "string",
      "description": "Project ID or slug"
    }
  },
  "additionalProperties": false,
  "description": "Arguments for the list_uploads tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for the record."
          },
          "file_id": {
            "type": "string",
            "description": "The file id associated with this record."
          },
          "path": {
            "type": "string",
            "description": "The path associated with this record."
          },
          "file_name": {
            "type": "string",
            "description": "File name from the upload record."
          },
          "name": {
            "type": "string",
            "description": "The same value as file_name."
          },
          "size_bytes": {
            "type": "number",
            "description": "File size in bytes."
          },
          "size": {
            "type": "number",
            "description": "The same value as size_bytes."
          },
          "content_type": {
            "type": [
              "string",
              "null"
            ],
            "description": "The content type associated with this record."
          },
          "status": {
            "type": "string",
            "description": "Lifecycle status for the record."
          },
          "url": {
            "type": "string",
            "description": "The url associated with this record."
          },
          "created_at": {
            "type": "string",
            "description": "Creation timestamp in ISO 8601 format."
          },
          "updated_at": {
            "type": "string",
            "description": "Last update timestamp in ISO 8601 format."
          },
          "deleted_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "Soft-deletion time, or null for an upload that is not deleted."
          },
          "visibility": {
            "type": "string",
            "enum": [
              "project",
              "public",
              "private"
            ],
            "description": "The visibility associated with this record."
          },
          "permission": {
            "type": "string",
            "enum": [
              "read",
              "write",
              "admin"
            ],
            "description": "The permission associated with this record."
          }
        },
        "required": [
          "id",
          "file_id",
          "path",
          "file_name",
          "name",
          "size_bytes",
          "size",
          "content_type",
          "status",
          "url",
          "created_at",
          "updated_at",
          "deleted_at"
        ],
        "additionalProperties": false,
        "description": "One data item associated with this record."
      },
      "description": "Primary record collection."
    },
    "page_info": {
      "type": "object",
      "properties": {
        "self": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor that refers to the current page."
        },
        "first": {
          "type": [
            "string",
            "null"
          ],
          "description": "The first associated with this record."
        },
        "next": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor for the next page."
        },
        "prev": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor for the previous page."
        }
      },
      "required": [
        "self",
        "first",
        "next",
        "prev"
      ],
      "additionalProperties": false,
      "description": "Pagination cursor values for traversing the result set."
    },
    "folders": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "description": "The path associated with this record."
          },
          "visibility": {
            "type": "string",
            "enum": [
              "project",
              "public",
              "private"
            ],
            "description": "The visibility associated with this record."
          },
          "permission": {
            "type": "string",
            "enum": [
              "read",
              "write",
              "admin"
            ],
            "description": "The permission associated with this record."
          },
          "created_at": {
            "type": "string",
            "description": "Creation timestamp in ISO 8601 format."
          }
        },
        "required": [
          "path",
          "visibility",
          "permission",
          "created_at"
        ],
        "additionalProperties": false,
        "description": "One folder item associated with this record."
      },
      "description": "Visible folders; separate from file pagination and not limited by file page size."
    }
  },
  "required": [
    "data",
    "page_info",
    "folders"
  ],
  "additionalProperties": false,
  "description": "Structured list uploads output schema for MCP tools.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}