search_messages
Search Gmail messages using query syntax (e.g., 'is:unread from:alice'). Returns message summaries with pagination support.
Instructions
Search messages using Gmail query syntax (e.g. 'is:unread from:alice newer_than:7d').
Returns message summaries plus next_page_token for pagination.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| max_results | No | ||
| page_token | No | ||
| include_spam_trash | No | ||
| account | No | ||
| password | No |