Google Super

GOOGLESUPER_LIST_FILES

Tool to list a user's files and folders in Google Drive. Use this to search or browse for files and folders based on various criteria.

Remote googlesuper

Other tools also called GOOGLESUPER_LIST_FILES? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "q": {
      "type": "string",
      "title": "Q",
      "default": null,
      "examples": [
        "name contains 'report' and starred = true"
      ],
      "nullable": true,
      "description": "A query string for filtering the file results. Supports operators like 'and', 'or', 'not', and can filter on fields like 'name', 'mimeType', 'modifiedTime', 'starred', 'trashed'. Example: \"name contains 'important' and mimeType = 'application/vnd.google-apps.folder'\"."
    },
    "fields": {
      "type": "string",
      "title": "Fields",
      "default": null,
      "examples": [
        "files(id,name,mimeType)"
      ],
      "nullable": true,
      "description": "Selector specifying which fields to include in a partial response. This can be used to retrieve only specific file metadata, improving performance. Example: 'nextPageToken, files(id, name, mimeType, modifiedTime)'"
    },
    "spaces": {
      "type": "string",
      "title": "Spaces",
      "default": null,
      "examples": [
        "drive,appDataFolder"
      ],
      "nullable": true,
      "description": "A comma-separated list of spaces to query within the corpora. Supported values are 'drive' and 'appDataFolder'. 'drive' represents files in My Drive and shared drives, while 'appDataFolder' represents the application's private data folder."
    },
    "corpora": {
      "type": "string",
      "title": "Corpora",
      "default": null,
      "examples": [
        "user",
        "drive"
      ],
      "nullable": true,
      "description": "Specifies the bodies of items (files/documents) to which the query applies. Supported values are 'user', 'domain', 'drive', and 'allDrives'. It's generally more efficient to use 'user' or 'drive' instead of 'allDrives'. Defaults to 'user'."
    },
    "driveId": {
      "type": "string",
      "title": "Drive Id",
      "default": null,
      "examples": [
        "0ABCA123456789"
      ],
      "nullable": true,
      "description": "The ID of the shared drive to search. This is used when `corpora` is set to 'drive'."
    },
    "orderBy": {
      "type": "string",
      "title": "Order By",
      "default": null,
      "examples": [
        "modifiedTime desc,name"
      ],
      "nullable": true,
      "description": "A comma-separated list of sort keys. Valid keys include 'createdTime', 'folder', 'modifiedByMeTime', 'modifiedTime', 'name', 'name_natural', 'quotaBytesUsed', 'recency', 'sharedWithMeTime', 'starred', 'viewedByMeTime'. Each key sorts in ascending order by default, but can be reversed with the 'desc' modifier (e.g., 'modifiedTime desc')."
    },
    "folderId": {
      "type": "string",
      "title": "Folder Id",
      "default": null,
      "examples": [
        "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms"
      ],
      "nullable": true,
      "description": "ID of a specific folder to list files from. This is a convenience parameter that automatically adds \"'folder_id' in parents\" to the query. Cannot be used together with a custom 'q' parameter."
    },
    "pageSize": {
      "type": "integer",
      "title": "Page Size",
      "default": 100,
      "maximum": 1000,
      "minimum": 1,
      "examples": [
        50
      ],
      "nullable": true,
      "description": "The maximum number of files to return per page. The value must be between 1 and 1000, inclusive. Defaults to 100."
    },
    "pageToken": {
      "type": "string",
      "title": "Page Token",
      "default": null,
      "examples": [
        " nextPageTokenValue"
      ],
      "nullable": true,
      "description": "The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response."
    },
    "includeLabels": {
      "type": "string",
      "title": "Include Labels",
      "default": null,
      "examples": [
        "labelId1,labelId2"
      ],
      "nullable": true,
      "description": "A comma-separated list of label IDs to include in the `labelInfo` part of the response for each file."
    },
    "supportsAllDrives": {
      "type": "boolean",
      "title": "Supports All Drives",
      "default": null,
      "examples": [
        true
      ],
      "nullable": true,
      "description": "Whether the requesting application supports both My Drives and shared drives. Defaults to false. If true, then `includeItemsFromAllDrives` can be used to extend the search to all drives."
    },
    "includeItemsFromAllDrives": {
      "type": "boolean",
      "title": "Include Items From All Drives",
      "default": null,
      "examples": [
        true
      ],
      "nullable": true,
      "description": "Whether to include items from both My Drive and shared drives. This is relevant when `corpora` is 'user' or 'domain'. Defaults to false."
    },
    "includePermissionsForView": {
      "type": "string",
      "title": "Include Permissions For View",
      "default": null,
      "examples": [
        "published"
      ],
      "nullable": true,
      "description": "Specifies which additional view's permissions to include in the response. Currently, only 'published' is supported, which includes permissions for files with published content."
    }
  }
}