List Spreadsheets
list_spreadsheetsLists Google Drive spreadsheets the user can access, with filters for shared drives, corpora, and result limits. Use it to find spreadsheets by account and page through results.
Instructions
Lists spreadsheets from Google Drive that the user has access to.
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": {
"user_google_email": "<user_google_email>"
},
"name": "list_spreadsheets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| corpora | No | Corpus to search ('user', 'domain', 'drive', 'allDrives'). Defaults to 'drive' when drive_id is set, otherwise 'allDrives'. | |
| drive_id | No | Shared drive ID to search. | |
| page_token | No | Page token from a previous response's nextPageToken to retrieve the next page of results. | |
| max_results | No | Maximum number of spreadsheets to return. Defaults to 25. | |
| user_google_email | Yes | The user's Google email address. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |