gmail_search_messages
Search Gmail messages using Gmail's search syntax and filters like labels, unread status, or attachments. Get lightweight summaries with sender, subject, snippet, and date for quick review.
Instructions
Search or list Gmail messages using Gmail's search syntax.
Returns lightweight results (id, threadId, snippet, from, subject, date) — use gmail_get_message for the full body of a specific message.
Returns: str: JSON list of message summaries.
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": {
"params": "<params>"
},
"name": "gmail_search_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |