mail_get_thread
Reconstruct a mailbox-local email thread from a seed message, returning complete headers and optional body content. Bound the conversation by folder or message count to retrieve the full exchange context.
Instructions
Reconstruct a bounded mailbox-local conversation with complete per-message headers and the requested body mode. Embedded forwarded chains are not separate messages.
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": {
"seed": "<seed>"
},
"name": "mail_get_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | Yes | A seed message used to resolve the mailbox-local conversationId. | |
| bodyMode | No | Message content to return: none omits body and preview, preview returns bodyPreview, and text/html returns body in the requested format. | preview |
| folderIds | No | Optional Graph folder IDs that bound thread reconstruction. | |
| maxMessages | No | Maximum messages reconstructed from the mailbox-local conversation. | |
| mailboxScope | No |