drive_search_files
Search Google Drive files and folders by using Drive API query syntax, including My Drive and shared-drive items, to locate documents by name, content, or type.
Instructions
Search Google Drive files and folders with Google Drive API query syntax (for example: name contains 'report', fullText contains 'quarterly', mimeType = 'application/pdf', or sharedWithMe). Includes My Drive and shared-drive items.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Google account email. May be omitted when exactly one account is configured; required when multiple accounts are configured. | ||
| query | Yes | Google Drive API `q` expression | |
| corpora | No | Ignored when drive_id is supplied; default 'user' | |
| drive_id | No | Optional shared drive ID; searches only that shared drive | |
| order_by | No | Drive orderBy expression; default 'recency desc' | |
| page_size | No | Default 100 | |
| page_token | No | ||
| include_trashed | No | Default false |