thread
Retrieve full message history for a single email thread by thread ID. Returns chronological messages including sent, replies, and bounces with metadata.
Instructions
Full message history for ONE thread. Input: threadId (from inbox). Returns { threadId, campaignId, leadId, leadEmail, mailboxEmail (null before first send), messages[] }, each message { type (sent/reply/bounce/...), ts, messageId, metadata }, oldest first. 404 if unknown. Use inbox to LIST threads; reply to respond; mark/label_thread to triage.
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": {
"threadId": "<threadId>"
},
"name": "thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threadId | Yes | The thread id, e.g. from inbox() or campaign events. |