search
Find Gmail threads by sender, subject, date, label, or read state using native Gmail query syntax. Returns live-verified thread summaries with pagination support for browsing large result sets.
Instructions
Search Gmail with native query syntax (e.g. 'in:inbox from:foo@bar.com newer_than:7d'). Returns thread summaries; read-state/category predicates are re-verified against each hit's live labels. Paginated: when more results exist, the response carries a nextPageToken — pass it back via pageToken to fetch the next page. USE WHEN: locating threads by sender, subject, date, label, or read state. DO NOT USE: to fetch a thread you already have the ID of (use get_thread). SIDE EFFECTS: none.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| pageToken | No | ||
| maxResults | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threads | Yes | ||
| nextPageToken | No |