search_emails
Find emails in Gmail using its search syntax. Specify a query and optionally set a maximum number of results.
Instructions
Search Gmail messages with Gmail search syntax.
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 | Gmail search query string. | |
| maxResults | No | Maximum number of emails to return. Default 10, max 50. |