gmail_search
Search Gmail messages with advanced query syntax to locate emails by sender, subject, date, or other filters; set the maximum number of results returned.
Instructions
Search Gmail using advanced query syntax (same as Gmail search bar)
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Gmail search query (e.g., 'from:boss@company.com subject:urgent after:2025/01/01') | |
| maxResults | No | Maximum number of results to return |