import_attachment
Prepare an attachment from a client upload, an existing mail attachment or an original .eml. Use its attachmentId only when READY.
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": {
"idempotencyKey": "<idempotencyKey>",
"mailboxId": "<mailboxId>",
"source": "<source>"
},
"name": "import_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Source of the attachment; arbitrary URLs and server file paths are forbidden. | |
| mailboxId | Yes | EPST mailbox UUID, not an email address or RFC Message-ID. | |
| idempotencyKey | Yes | A new operation key; reuse exactly the same key and input when retrying. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||