
Search Documents
TOOLSlug
GOOGLEDOCS_SEARCH_DOCUMENTS
Search for Google Documents using various filters including name, content, date ranges, and more.
Search query to filter documents. Provide either: (1) Plain text to search in document content (e.g., 'quarterly report'), which will search fullText, or (2) Drive API query syntax with operators like 'name contains', 'fullText contains', combined with 'and', 'or', 'not'. Leave empty to get all documents.
Order results by field. Common options: 'modifiedTime desc', 'modifiedTime asc', 'name', 'createdTime desc'
Default: "modifiedTime desc"
Token for continuing a previous search request on the next page. Use the next_page_token from the previous response to retrieve additional results.
Maximum number of documents to return per page (1-100). Defaults to 10. Use page_token for pagination when more results are available.
Default: 10
Whether to return only starred documents. Defaults to False.
Default: false
Return documents created after this date. Use RFC 3339 format like '2024-01-01T00:00:00Z'.
Return documents modified after this date. Use RFC 3339 format like '2024-01-01T00:00:00Z'.
Whether to return only documents shared with the current user. Defaults to False.
Default: false
Whether to include documents in trash. Defaults to False.
Default: false
Level of detail in the response. 'minimal' returns only essential fields (id, name, modifiedTime, webViewLink) for efficient token usage. 'full' returns comprehensive metadata including permissions, owners, timestamps, and other detailed information.
Options: minimal, full
Default: "minimal"
include_shared_drives
BOOLEANWhether to include documents from shared drives you have access to. Defaults to True.
Default: true