Microsoft 365 Create Draft
m365_create_draftUse this when the user wants an email prepared in their Microsoft 365 / Outlook account without sending it: it saves a draft in that account's Drafts folder, for the person to review and send from Outlook. Never sends anything. A new message takes subject and body (to and cc optional); a draft reply takes reply_to_id (a message ID from m365_list_emails, m365_search_emails or m365_read_email) and body only — its recipients and subject come from the original. No attachments. Needs a connected Microsoft 365 account with the Mail.ReadWrite permission: an account connected before this tool existed answers consent_required until it is connected again. To send right away use m365_send_email or m365_reply_email; for a draft in the Mac's Mail app use create_draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC email addresses, separated by commas (optional; not with reply_to_id). | |
| to | No | Recipient email addresses, separated by commas (optional; not with reply_to_id). | |
| body | Yes | The text of the draft, as plain text. Line breaks are kept. | |
| account | No | Which connected Microsoft 365 account to use: its email (UPN), its id from list_m365_accounts, or its display name when unique. Leave it out to use the default account. | |
| confirm | No | Ignored; kept for older clients. | |
| subject | No | Subject, one line. Required for a new message; not with reply_to_id. | |
| reply_to_id | No | Message ID to draft a reply to (from m365_list_emails, m365_search_emails or m365_read_email). Leave it out for a new message. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The ID of the saved draft. | |
| ok | Yes | ||
| account | No | The email (UPN) of the Microsoft 365 account this call used. | |
| message | Yes | ||
| web_link | No | A link that opens the draft in Outlook on the web. |