Raw Google Drive API call
raw_requestMake direct Google Drive API v3 calls for endpoints not covered by standard tools, such as file revisions, changes, or emptying trash. Specify path, method, and body to access any Drive REST endpoint.
Instructions
Escape hatch to call any Google Drive API v3 path directly, for requests the typed tools don't cover — e.g. revisions ("drive/v3/files//revisions"), changes ("drive/v3/changes?pageToken=..."), shortcut creation (POST "drive/v3/files" with shortcutDetails), emptying the trash (DELETE "drive/v3/files/trash"), generateIds, or starting a resumable upload session (POST "upload/drive/v3/files?uploadType=resumable"). The path is relative to https://www.googleapis.com and may carry a query string (remember supportsAllDrives=true for shared-drive items). The Bearer token is added automatically; the method defaults to GET; the response must be JSON (binary media downloads belong to download_file/export_file).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body (POST/PATCH only). | |
| path | Yes | API path relative to https://www.googleapis.com, e.g. "drive/v3/files/<fileId>/revisions?fields=*". | |
| method | No | HTTP method (the Drive API uses these four). Defaults to GET. |