listSharedDrives
Retrieve all Google Shared Drives available to the authenticated user, then use a returned drive ID to browse its folders and files.
Instructions
Lists all Shared Drives (Team Drives) the user has access to. Use the returned drive ID with listFolderContents to browse its contents.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "listSharedDrives"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageToken | No | Token for fetching the next page of results. | |
| maxResults | No | Maximum number of shared drives to return. |