Search Gmail
search_gmailSearch Gmail messages using Gmail search syntax to find emails by sender, subject, or date range. Returns matching messages for automation and agent workflows.
Instructions
Search Gmail messages. Uses Gmail search syntax (e.g. 'from:someone@example.com subject:report newer_than:7d').
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_gmail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |