search_files
Find files in Google Drive by name, type, or other criteria using search queries.
Instructions
Search for files in Google Drive using query syntax.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Google Drive search query. Examples: "name contains 'report'", "mimeType = 'application/pdf'". | |
| corpora | No | Source of files: 'user' (default), 'drive', or 'allDrives'. | |
| drive_id | No | ID of the shared drive when corpora='drive'. | |
| page_size | No | Maximum number of results to return (1-100). | |
| page_token | No | Token for the next page of results. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |