gmail_search_emails
Find emails in Gmail using query syntax with operators such as from:, to:, subject:, has:, and date filters. Returns up to 50 results.
Instructions
Search emails using Gmail query syntax. Supports complex queries with operators like from:, to:, subject:, has:, is:, after:, before:
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": "gmail_search_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Gmail search query (e.g., "from:boss@company.com subject:urgent", "has:attachment after:2025/11/01") | |
| maxResults | No | Maximum number of results (default: 50) |