drive_list_shared_drives
List Google Shared Drives a user belongs to and retrieve drive IDs for browsing or searching files within those drives.
Instructions
List the Shared Drives (Team Drives) the user is a member of. Use the returned drive IDs as the folderId argument to drive_list_files to browse a Shared Drive, or as driveId on drive_search_files to scope a search.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"accountId": "<accountId>"
},
"name": "drive_list_shared_drives"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageSize | No | Maximum number of drives to return (default: 50, max: 100) | |
| accountId | Yes | The Google account ID, alias, or email | |
| pageToken | No | Token for pagination |