mail_search
Search Gmail messages with Gmail search syntax to find mail by sender, subject, label, date, or attachment; results are returned newest first.
Instructions
Search mail with Gmail search syntax, e.g. invoice, from:amazon, subject:"tax return",
has:attachment dentist, newer_than:30d, label:receipts, in:anywhere (spam and trash too).
Newest first.
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": "mail_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |