gmail_get_thread
Fetch a Gmail thread by id to retrieve full message bodies; omit attachment bytes by default and remove quoted replies on request.
Instructions
Fetch a Gmail thread by id with full message bodies. By default attachment/inline-image bytes are omitted (each attachment still carries filename, mime_type, size, attachment_id) to keep the payload small - fetch a file on demand with gmail_get_attachment. Pass include_attachment_data=true to inline bytes, or strip_quoted_replies=true to drop repeated quoted history. When an interactive UI is rendered alongside the result, keep your text response brief since the user can browse the conversation in the UI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | ||
| thread_id | Yes | ||
| strip_quoted_replies | No | ||
| include_attachment_data | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | No | ||
| messages | Yes | ||
| thread_id | Yes |