get_thread
Fetch every email in a single conversation thread via IMAP across Gmail, Outlook, and custom domains, letting you review a complete exchange in one request.
Instructions
Fetch all emails in a conversation thread via IMAP — works with Gmail, Outlook, and custom domains.
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": {
"accountId": "<accountId>",
"threadId": "<threadId>"
},
"name": "get_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | The folder containing the thread (default: INBOX) | |
| threadId | Yes | The ID of the thread to retrieve | |
| accountId | Yes | The ID of the account to use |