get_thread
Retrieve all messages in the same email thread as a given message by its ID. Returns results sorted by date ascending.
Instructions
Return all messages in the thread containing the given message.
Looks up the anchor message by its id, then reconstructs the
conversation via the connector's tiered IMAP threading dispatch
(Tier 1 X-GM-THRID for Gmail, Tier 3 header-search BFS fallback)
or the AppleScript path. Result rows are sorted by date_received
ascending.
The returned ids can be piped into search_messages(source=[ids])
for filtered metadata or get_messages([ids]) for full bodies.
Known limitation: thread members whose subject was rewritten mid-conversation are missed on the AppleScript fallback path (subject prefilter tradeoff).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | Internal id of any message in the thread (from ``search_messages`` or ``get_messages`` results). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||