/install oo-googledrive
Google Drive
Operate Google Drive through your OOMOL-connected account. This skill calls the googledrive connector with the oo CLI; OOMOL injects credentials server-side, so you never handle raw tokens.
Category: Storage, Productivity. Exposes 66 action(s).
Running an action
Assume the user has already installed the oo CLI, signed in, and connected Google Drive. Do not run oo auth login or open the connection URL proactively — just run the action. Fall back to First-time setup only when a command actually fails with an auth or connection error.
1. Inspect the contract to get the authoritative input/output schema before building a payload:
oo connector schema "googledrive" --action "\x3Caction_name>"
2. Run the action with a JSON payload that matches the input schema:
oo connector run "googledrive" --action "\x3Caction_name>" --data '\x3Cjson>' --json
--datatakes a JSON object string or@path/to/file.json; omit it to send{}.- The response is
{ "data": ..., "meta": { "executionId": "..." } }; the execution id lives undermeta.executionId.
Each action below links to a reference file with its purpose and exact commands. Read the linked file, then fetch the live schema with oo connector schema before constructing --data.
Available actions
copy_file— Legacy compatibility alias ofcopy_file_advancedwith a simplified input shape.copy_file_advanced— Copy a Drive file and optionally override metadata such as name, parents, description, or properties.create_comment— Create a comment on a Drive file, optionally with anchor or quoted file content.create_drive— Create a new shared drive.create_file— Create a Google Drive file with metadata only. Use a Google Workspace mime type to create an empty native file shell.create_file_from_text— Create a new Drive file from text content and optional metadata.create_folder— Create a Google Drive folder, optionally under one or more parent folders.create_permission— Create a permission on a Drive file or shared drive to share it with users, groups, domains, or anyone.create_reply— Create a reply under an existing Drive file comment, or use an action payload such as resolve or reopen.create_team_drive— Legacy compatibility alias ofcreate_drivefor Team Drives.delete_comment— Permanently delete a comment thread from a Drive file.delete_drive— Permanently delete a shared drive.delete_file— Legacy compatibility alias for permanently deleting a Drive file by ID.delete_permission— Delete a permission from a Drive file or shared drive.delete_reply— Permanently delete a specific reply from a Drive file comment thread.delete_revision— Permanently delete a specific revision from a Drive file.delete_team_drive— Legacy compatibility alias ofdelete_drivefor Team Drives.download_file— Download a Drive file by ID, or export a Google Workspace file whenmimeTypeis provided. Returns a transit URL for the downloaded content.download_file_operation— Compatibility alias ofdownload_file.download_file2— Compatibility alias ofdownload_file.edit_file— Overwrite an existing Drive file with text content and optional metadata changes.empty_trash— Permanently empty the user's trash or a shared drive's trash.export_google_workspace_file— Export a Google Workspace file to the requested MIME type and return a transit URL for the exported content.find_file— Search Google Drive files and folders with query, date, starred, trash, and shared-drive filters.find_folder— Search Google Drive folders only, with the same query and pagination controls asfind_file.generate_ids— Generate one or more Drive file IDs for later create or copy requests.get_about— Get Drive account information such as user details, quota, and supported capabilities.get_app— Get metadata for a specific Google Drive app by app ID.get_changes_start_page_token— Get the page token for monitoring future Drive changes.get_comment— Get a specific comment on a Drive file by comment ID.get_drive— Get a shared drive by drive ID.get_file_metadata— Get metadata for a Drive file by ID, including mime type, parents, ownership, and trash state.get_permission— Get a specific permission on a Drive file or shared drive by permission ID.get_permission_id_for_email— Look up the Drive permission ID for an email address.get_reply— Get a specific reply under a Drive file comment.get_revision— Get metadata for a specific Drive file revision.get_team_drive— Legacy compatibility alias ofget_drivefor Team Drives.google_drive_delete_folder_or_file_action— Permanently delete a Drive file or folder by ID.hide_drive— Hide a shared drive from the default Drive view.list_access_proposals— List pending access proposals for a specific Drive file.list_approvals— List approvals associated with a specific Drive file.list_changes— List file and drive changes for incremental sync workflows.list_comments— List comments on a Drive file with pagination.list_file_labels— List the Drive labels currently applied to a file.list_permissions— List permissions on a Drive file or shared drive.list_replies— List replies under a Drive file comment with pagination.list_revisions— List revision metadata for a Drive file.list_shared_drives— List shared drives accessible to the connected account.list_team_drives— Legacy compatibility alias oflist_shared_drivesfor Team Drives.modify_file_labels— Add, update, or remove Drive labels on a file.move_file— Move or rename a Drive file by updating parents and/or name.parse_file— Compatibility alias ofdownload_file, including export behavior whenmimeTypeis provided.patch_permission— Patch specific fields on an existing Drive permission.trash_file— Move a Drive file or folder to trash without permanently deleting it.unhide_drive— Unhide a shared drive and restore it to the default Drive view.untrash_file— Restore a Drive file or folder from trash.update_comment— Update the content of an existing Drive file comment.update_drive— Update metadata or restrictions on a shared drive.update_file_metadata_patch— Update Drive file metadata fields with patch semantics.update_file_put— Update a Drive file with metadata and optional uploaded content.update_file_revision_metadata— Update revision metadata flags such as publish or keep-forever on a specific Drive file revision.update_permission— Update an existing Drive permission using structured permission fields.update_reply— Update the content of an existing reply on a Drive file comment.update_team_drive— Legacy compatibility alias ofupdate_drivefor Team Drives.upload_file— Upload a new Drive file with binary or text content and optional metadata.upload_update_file— Replace the content of an existing Drive file and optionally update metadata.
Safety
- Read actions (get / list / search) are safe to run directly.
- Create, update, send, or post actions change Google Drive state — confirm the exact payload and effect with the user before running.
- Delete or remove actions are destructive — always confirm the target and get explicit approval first.
First-time setup
These are one-time steps — do not repeat them on every call. Run a step only when a command fails for the matching reason.
-
oo: command not found— install the oo CLI (other platforms: \x3Chttps://cli.oomol.com/install-guide.md>):curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linuxirm https://cli.oomol.com/install.ps1 | iex # Windows PowerShell -
Not signed in / authentication error — sign in to your OOMOL account once:
oo auth login -
scope_missing/credential_expired/app_not_ready/app_not_found— Google Drive is not connected, or the connection expired or lacks a scope. Connect once (auth type: OAuth2) at:https://console.oomol.com/app-connections?provider=googledrive -
HTTP 402 /
OOMOL_INSUFFICIENT_CREDIT— billing stop. Recharge athttps://console.oomol.com/billing/token-rechargebefore retrying.
Resources
- Google Drive homepage: https://workspace.google.com/products/drive/
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install oo-googledrive - 安装完成后,直接呼叫该 Skill 的名称或使用
/oo-googledrive触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Google Drive 是什么?
Google Drive (workspace.google.com). Use this skill for ANY Google Drive request — reading, creating, updating, and deleting data. Whenever a task involves G... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 28 次。
如何安装 Google Drive?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install oo-googledrive」即可一键安装,无需额外配置。
Google Drive 是免费的吗?
是的,Google Drive 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Google Drive 支持哪些平台?
Google Drive 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Google Drive?
由 OOMOL(@oomol)开发并维护,当前版本 v1.0.0。