gmail_search
Search Gmail with query syntax to locate emails by sender, subject, attachment, or read status, returning message headers and snippets.
Instructions
Search Gmail using Gmail query syntax (e.g. 'from:alice is:unread newer_than:7d', 'has:attachment subject:invoice'). Returns message headers and snippets.
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": "gmail_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Gmail search query | in:inbox |
| pageToken | No | ||
| maxResults | No |