Get Any Thread Attachment
get_agentmail_thread_attachmentFetches metadata for one attachment in a thread addressed by id alone. Returns attachment_id, filename, size, content_type, content_disposition, content_id and a short-lived download_url with expires_at. The bytes are not inlined — fetch download_url before it expires. This is the organization-wide view spanning every inbox in the account. Every AIsa caller shares one AgentMail account, so this reaches inboxes other callers created; the inbox-scoped twin get_agentmail_inbox_thread_attachment is the one to use when a single inbox is meant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | ID of thread. | |
| Authorization | Yes | Bearer authentication | |
| attachment_id | Yes | ID of attachment. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||