search_files
Find files and folders anywhere in the drive by partial, case-insensitive name match, returning paginated results with IDs, kinds, sizes, and paths.
Instructions
Find files and folders anywhere in the drive (or inside the credential's folder scope) whose name contains the query, case-insensitive. Returns up to 200 matches per page with id, kind, size and path, plus next_cursor to continue. Matches names only: to search the text inside PDFs, Office files and text files use search_file_contents; to list one folder use list_files. Requires files:read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | substring to search for in file and folder names | |
| cursor | No | cursor returned by the previous call |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| total | Yes | ||
| next_cursor | No |