drive_search_files
Search Google Drive for files by name, type, or other criteria, with pagination support for retrieving large result sets.
Instructions
Search for files in Google Drive.
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": {
"email": "<email>",
"query": "<query>"
},
"name": "drive_search_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The authenticated Google account. | ||
| query | Yes | Search query. Supports Drive query syntax (e.g. "name contains 'report'", "mimeType='application/pdf'"). | |
| pageToken | No | Pagination token from a previous call's nextPageToken, to fetch the next page of results. | |
| maxResults | No | Maximum number of results to return (default: 20). |