Summary
The drive_search tool already supports Google Drive's fullText contains query operator (it passes the query directly to the API), but the tool description doesn't mention it. This means AI agents don't know they can search file contents.
Current State
The tool description in internal/drive/register.go only shows examples like name contains 'report' and mimeType = 'application/pdf'. Users/agents don't realize they can search inside file contents.
Proposed Change
Update the drive_search tool description and query parameter description to mention fullText contains:
- Tool description: mention content search capability (PDFs, Docs, Office files, etc.)
- Query parameter: add
fullText contains 'keyword' as an example
What fullText contains Searches
- File content (text inside PDFs, Docs, Sheets, Slides, Office formats, HTML, plain text)
- File name, description, and
indexableText metadata
- Google auto-indexes content including OCR for scanned PDFs
Caveats to Document
References
Summary
The
drive_searchtool already supports Google Drive'sfullText containsquery operator (it passes the query directly to the API), but the tool description doesn't mention it. This means AI agents don't know they can search file contents.Current State
The tool description in
internal/drive/register.goonly shows examples likename contains 'report'andmimeType = 'application/pdf'. Users/agents don't realize they can search inside file contents.Proposed Change
Update the
drive_searchtool description and query parameter description to mentionfullText contains:fullText contains 'keyword'as an exampleWhat
fullText containsSearchesindexableTextmetadataCaveats to Document
'sta'won't match'stan')References