Get Attachment Metadata
qubrics_mailbox_get_attachmentRetrieve metadata and a fresh short-lived download URL for a specific email attachment after locating it in a message; use the URL promptly and call again if it expires.
Instructions
Use this after finding a message attachment. It returns metadata plus a fresh short-lived download_url for that exact attachment; fetch the URL promptly, and call this tool again if it expires.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"message_id": "<message_id>",
"attachment_id": "<attachment_id>"
},
"name": "qubrics_mailbox_get_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox_id | No | Mailbox public ID when the credential can access more than one mailbox. | |
| message_id | Yes | Message ID containing the attachment. | |
| attachment_id | Yes | Attachment ID from message metadata. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||