Update Item
m365_updateUpdate properties of existing emails, folders, contacts, or OneDrive items: mark read, flag, set importance/categories, rename, or edit contact details. Returns changed fields.
Instructions
Change properties of an existing email, mail folder, contact or OneDrive item: mark read or unread, flag, set importance or categories, Focused/Other, rename folders and files, or edit contact details. Supply the *_changes object that matches resource. Not for events (calendar_update_event), inbox rules (email_rule_manage) or file contents (drive_upload). Returns the changed field names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Item ID. | |
| resource | Yes | Type of item. | |
| account_id | No | Account ID or email address. Omit when only one account is signed in. | |
| email_changes | No | Required when resource='email'. | |
| contact_changes | No | Required when resource='contact'. Only supplied fields change; lists replace the existing list. | |
| drive_item_changes | No | Required when resource='drive_item'. | |
| email_folder_changes | No | Required when resource='email_folder'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| status | Yes | ||
| summary | Yes | One-line human summary. The tool's text content is this result serialized as JSON (summary included), so a client that ignores structuredContent still sees every field. | |
| resource | Yes | ||
| changed_fields | Yes |