Google Drive

gd_update_file

Update file metadata — rename, change description, star/unstar, move between folders, or trash/untrash. Use add_parents/remove_parents to move files.

Remote node2flow/google-drive

Other tools also called gd_update_file? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "New file name"
    },
    "file_id": {
      "type": "string",
      "description": "The ID of the file to update"
    },
    "starred": {
      "type": "boolean",
      "description": "Star or unstar the file"
    },
    "trashed": {
      "type": "boolean",
      "description": "Move to trash (true) or restore from trash (false)"
    },
    "properties": {
      "type": "object",
      "description": "Custom key-value properties to set"
    },
    "add_parents": {
      "type": "string",
      "description": "Comma-separated parent folder IDs to add (moves file to these folders)"
    },
    "description": {
      "type": "string",
      "description": "New description"
    },
    "remove_parents": {
      "type": "string",
      "description": "Comma-separated parent folder IDs to remove (moves file out of these folders)"
    }
  }
}