gmail_search
Search for emails in a connected Gmail account using standard search operators. Specify the account, query, and result limits to find messages.
Instructions
Search for emails in a specific Gmail account.
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": {
"email": "<email>",
"query": "<query>"
},
"name": "gmail_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The Gmail address to search within (must be an authenticated account). | ||
| query | Yes | The search query (uses standard Gmail search operators). | |
| pageToken | No | Pagination token from a previous call's nextPageToken, to fetch the next page of results. | |
| maxResults | No | Maximum number of results to return (default: 10). |