Add attachment
add_attachmentAttach a file to an existing Outlook draft, event, or contact by ID, using a local path, base64 content, or plain text.
Instructions
Attach a file to a draft (or to an event/contact you own).
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": {
"id": "<id>",
"attachment": "<attachment>"
},
"name": "add_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Draft, event or contact ID | |
| attachment | Yes | Exactly one of path, contentBase64 or text |