drive_files_list
List and search files in Google Drive with query filters, field selection, sorting, and pagination; shared drive files are included automatically.
Instructions
List files in Google Drive. Supports search queries via the 'q' parameter. Shared drive files are included automatically.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "drive_files_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Search query (e.g. "name contains 'report'" or "mimeType='application/vnd.google-apps.folder'") | |
| fields | No | Fields to include (e.g. "files(id,name,mimeType)") | |
| orderBy | No | Sort order (e.g. "modifiedTime desc") | |
| pageSize | No | Max results per page (1-1000, default 100) |