Tool
get_thread
Read a thread
Read-onlyIdempotent
SurfacesChat agentMCPCLILegacy conversation read with UTF-16 body offsets and HTML-to-text excerpts. It fetches the whole thread before slicing; prefer list_thread_messages and read_message_body for efficient bounded reads. For a long message, pass its messageId and follow nextBodyOffset until it is absent. All reads use the thread inbox permissions. Internal notes are marked kind:note, not customer emails.
CLI: tinbox get-threadParameters
| Name | Type | Required | Description |
|---|---|---|---|
threadId | string | yes | The thread id (e.g. from search_emails). |
offset | integer | no | Message offset within the conversation (default 0). Continue with nextOffset. |
limit | integer | no | Messages per page (default 5, maximum 20). Use 1 for long messages. |
messageId | string | no | Optional message row id from this thread; selects one message for detailed reading. |
bodyOffset | integer | no | Character offset into the message text (default 0). Follow nextBodyOffset to read the rest. |
bodyLimit | integer | no | Characters per message (default 1000, maximum 4000). |
Example
json
{
"threadId": "thr_…"
}