gmail_search
Search Gmail using query syntax with filters like from:, subject:, is:unread, older_than:1y, has:attachment. Specify account or search all connected accounts.
Instructions
Search mail with Gmail's full query syntax (from:, subject:, is:unread, older_than:1y, has:attachment, ...). account is an alias, an email, or "all" for every connected 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": {
"query": "<query>"
},
"name": "gmail_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| account | No | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |