Get Item
m365_getRetrieve a single Microsoft 365 item by ID: email, event, contact, folder, rule, calendar, OneDrive file details, or operation status.
Instructions
Read one item whose ID you already have: an email with its body, an event with attendees, a contact, a mail or contact folder, an inbox rule, a calendar, a OneDrive item's details, or the status of a copy started with drive_copy (resource='operation'). Use m365_list or m365_search to find IDs. Use m365_get_content to download files or attachments. Returns the item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Item ID from a previous result (for operation: the operation_id). Aliases are accepted for email_folder, calendar (default) and drive_item (root). | |
| path | No | drive_item only: OneDrive path instead of id. | |
| refresh | No | Bypass the cache and fetch fresh data. | |
| resource | Yes | Type of item. | |
| account_id | No | Account ID or email address. Omit when only one account is signed in. | |
| include_body | No | email and event: include the body text. | |
| body_max_chars | No | email and event: truncate the body after this many characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | 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 |