List shared drives
list_shared_drivesLists shared drives the authorized user belongs to, returning id, name, createdTime, and nextPageToken. Filter by name substring to locate a drive ID for browsing its contents.
Instructions
Lists the shared drives (formerly Team Drives) the authorized user is a member of: id, name, createdTime, plus nextPageToken. Use a drive's id as drive_id in search_files to browse its contents, or as parent_id to list its root. name_contains filters by name. My Drive is not a shared drive and never appears here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_size | No | Drives per page (1..100; API default 10). | |
| page_token | No | nextPageToken from the previous page. | |
| name_contains | No | Only shared drives whose name contains this substring. |