search_emails
Search your Gmail inbox using Gmail's native search syntax to find specific emails, such as by sender, subject, or read status.
Instructions
Search emails using Gmail search syntax
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": "search_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Gmail search query (e.g., 'from:example@gmail.com', 'subject:meeting', 'is:unread') | |
| maxResults | No | Maximum number of results to return |