get_emails
Retrieve Gmail messages for a specified number of days and return JSON email data including sender, subject, date, and body.
Instructions
Fetch emails from Gmail for a specified number of days. Returns JSON array of emails with id, from, subject, date, and body fields.
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": "get_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |