drive_search_files
Search Google Drive and shared drives for files by name words, type, or folder; results return newest first and include IDs for attaching files to Classroom items.
Instructions
Find files in the teacher's Google Drive (including shared drives) by words in the name, by type or inside a folder, newest first. Use the returned id as a driveFile attachment. Returns one page as {items, nextPageToken}; continue until nextPageToken is null.
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_search_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | any | |
| query | No | Words that appear in the file name, e.g. "práctica 05" | |
| folderId | No | Only files directly inside this Drive folder | |
| fullData | No | ||
| pageSize | No | ||
| pageToken | No |