search_drive_files
Search Google Drive file metadata by name or indexed content. Optionally filter by account and set result limit to find files across one or all connected Gmail accounts.
Instructions
Search Google Drive file metadata. Omitting account searches all enabled accounts and merges results.
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": {
"query": "<query>"
},
"name": "search_drive_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Plain text to search in Drive file names and indexed content. | |
| account | No | Optional account id. Omit to aggregate across all enabled accounts. | |
| max_results | No | Maximum files to return (1-500). |