List shared drives
drive_shared_drivesResolve shared drive names to their IDs by listing drives an account can reach, including write permission status. Works for one account or all configured accounts.
Instructions
List the shared drives an account can reach, with their ids. A shared drive is NOT a file: it never appears in drive_search, not even searched by its exact name, so this is the only way to turn a drive name into the id that drive_list, drive_upload and drive_share need. Without "account", asks every configured account. "canAddChildren" tells you whether that account may write to it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Configured account: the email address, or the alias given at setup. | |
| max_results | No | Maximum drives to return (per account when asking all). Default 20. |