outlook_add_attachment
Add an attachment to an Outlook email draft by specifying the message ID, file name, MIME type, and base64-encoded content.
Instructions
Add an attachment to an email draft
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": {
"messageId": "<messageId>",
"name": "<name>",
"contentType": "<contentType>",
"contentBytes": "<contentBytes>"
},
"name": "outlook_add_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | Yes | The ID of the email (draft) to add attachment to | |
| name | Yes | Name of the attachment file | |
| contentType | Yes | MIME type of the attachment | |
| contentBytes | Yes | Base64-encoded content of the attachment |