Upload Attachment
sending_upload_attachmentPrepare an attachment upload for sending emails via the Sendmux API, specifying filename, MIME type, idempotency key, or inline base64 for tiny files.
Instructions
Use this before sending a Sending API attachment. For real files use sending_create_attachment_upload and PUT the file outside model context. Inline content_base64 is a last resort for tiny agent-authored files only and is capped at 32 KiB decoded.
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": {
"filename": "<filename>"
},
"name": "sending_upload_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Filename to use when sending the uploaded attachment. | |
| content_type | No | MIME type to store with the upload, for example application/pdf. | application/octet-stream |
| content_base64 | No | Last-resort inline base64 for tiny agent-authored files only. Decoded content must be at most 32 KiB; use a presigned upload for real files. | |
| idempotency_key | No | Optional Idempotency-Key for safely retrying the upload. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||