list_emails
Retrieve emails from specified Gmail labels like INBOX, SENT, or custom labels, with optional search queries and result limits.
Instructions
List emails in inbox, sent, or specific label
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": "list_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Optional search query filter | |
| labelIds | No | Label IDs to list (e.g., ['INBOX'], ['SENT'], ['TRASH']) | |
| maxResults | No | Maximum number of emails to return |