Search Docs
search_docsFind Google Docs by name across Drive or shared drives, returning paginated results so you can locate the right document quickly.
Instructions
Searches for Google Docs by name using Drive API (mimeType filter).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Text to search for in document names. | |
| corpora | No | Corpus to search ('user', 'domain', 'drive', 'allDrives'). Defaults to 'drive' when drive_id is set, otherwise 'allDrives'. | |
| drive_id | No | Optional shared drive ID to search. | |
| page_size | No | Maximum number of documents to return. Defaults to 10. | |
| page_token | No | Page token from a previous response's nextPageToken to retrieve the next page of results. | |
| user_google_email | Yes | The user's Google email address. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |