search_emails
Search Gmail using standard query syntax to find emails and retrieve summaries including attachment details.
Instructions
Search Gmail using a standard Gmail query (e.g. 'has:attachment from:bob newer_than:7d').
Returns a list of message summaries: id, from, to, subject, date, snippet, and any attachment
metadata (attachment_id, filename, mime_type, size) needed by download_attachment.
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 | ||
| max_results | No |