google_api_call
Invoke any Google Workspace REST method by Discovery ID when no dedicated tool exists. Find methods with google_api_search first. Returns JSON only; use drive_download/export for binary files.
Instructions
Invoke any Google Workspace REST method by Discovery id (escape hatch for operations without a dedicated tool). Find methods with google_api_search first. Subject to the same write-control policy as named tools. Returns JSON only — for binary/file content (media downloads, drive.files.export) use drive_download / drive_export instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api | Yes | API alias: gmail, drive, calendar, sheets, docs, slides, forms, people, searchconsole, tasks, chat, meet, driveactivity, drivelabels, admin_directory, admin_reports, admin_datatransfer, groupssettings, appsmarket, classroom, cloudidentity, cloudsearch, groupsmigration, keep, licensing, postmaster, reseller, script, vault, workspaceevents | |
| body | No | JSON request body | |
| account | Yes | Google account alias | |
| methodId | Yes | Discovery method id, e.g. "drive.revisions.list" | |
| pathParams | No | Values for {placeholders} in the method path | |
| queryParams | No | Query-string parameters; use an array for repeated params (e.g. resourceNames) |