list_recent_files
Find recently modified Google Drive files across My Drive and accessible shared drives, ordered by modification time, with optional day, MIME type, and result-count filters.
Instructions
List recently modified files in Drive, newest first, across 'My Drive' AND every shared drive the authenticated account can access (corpora='allDrives').
Args: max_results: Maximum number of files to return (default 20, max 100). days: If provided, only return files modified within the last N days. mime_type: Optional MIME type filter.
Returns: List of files with id, name, mime_type, modified_time, owners, and web_link, ordered by modification time descending.
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": "list_recent_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| mime_type | No | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |