drive_search
Search Google Drive files by name, full-text content, type, folder, or raw Drive query to find documents, spreadsheets, slides, PDFs, and folders.
Instructions
Search Google Drive files by name/full text, type, or folder. Optionally pass a raw Drive 'q' query.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Substring of the file name | |
| type | No | any | |
| orderBy | No | modifiedTime desc | |
| folderId | No | Only files directly inside this folder | |
| fullText | No | Search inside file contents | |
| pageSize | No | ||
| rawQuery | No | Raw Drive API query, overrides other filters | |
| pageToken | No | ||
| includeTrashed | No |