Request Attachment Text
qubrics_mailbox_request_attachment_textExtracts readable text from an email attachment for agent use, returning up to a set byte limit and reusing cached extraction for 24 hours.
Instructions
Extract readable text from an attachment up to 7500000 bytes at no extra charge. Requires mailbox.read. Repeated requests reuse the current extraction for 24 hours. OCR is unavailable; check status and outcome, and use the original download if extraction cannot complete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_bytes | No | Maximum UTF-8 text bytes returned. Default 262144; maximum 1048576. Applies to cached results too. | |
| mailbox_id | No | Mailbox public ID to target when the credential grants access to more than one mailbox. Omit when the credential is scoped to exactly one mailbox. | |
| message_id | Yes | Message ID in the selected mailbox. | |
| attachment_id | Yes | Attachment ID from that message. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |