> **Building with AI coding agents?** Install the authstack plugin with one command. This equips your agent with accurate Scalekit implementation patterns.
>
> **Recommended** (the `-y` flags skip prompts, so the command runs without an interactive terminal):
> ```bash
> npx -y @scalekit-inc/cli setup -y
> ```
>
> Global:
> ```bash
> npm install -g @scalekit-inc/cli
> scalekit setup -y
> ```
>
> Supports Claude Code, Cursor, GitHub Copilot, Codex + skills for other Agent Skills-compatible agents in `~/.agents/skills`.
> Skills: integrate-agentkit, implement-saaskit, add-mcp-oauth, implement-sso, implement-scim.
> [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# Connect AI agents to Microsoft 365

The Microsoft 365 connector lets your AI agent act in each user's Microsoft 365 account. Each user signs in to Microsoft 365 once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 317 tools.

**Authentication:** OAuth 2.0
**Categories:** Productivity, Communication, Collaboration, Files & Documents, Calendar, Analytics
**Tools:** 317: 129 read, 148 write, 40 destructive
**Users sign in with:** OAuth
**OAuth app:** Scalekit's or your own
**Built by:** Scalekit connector
**Try it:** [Playground in the Scalekit dashboard](https://app.scalekit.com/ws/signup?sk_intent=playground&provider=MICROSOFT365)

## What you can do

- **Read and send email**: list, search, send, reply to, forward, and move Outlook messages, including shared mailboxes
- **Manage calendars**: create, update, and respond to Outlook events, check free/busy time, and find meeting times
- **Work in Teams**: send channel and chat messages, reply to threads, create teams and channels, and schedule online meetings
- **Manage OneDrive and SharePoint files**: upload, download, move, share, and search files and folders across drives and sites
- **Update Excel workbooks**: read and write ranges, manage tables and worksheets, and create charts
- **Manage tasks, contacts, and notes**: create and update To Do tasks and Outlook contacts, and create OneNote pages

## Setup

1. ### Install the SDK

   **Node.js**

   ```bash
   npm install @scalekit-sdk/node dotenv
   ```

   **Python**

   ```bash
   pip install scalekit-sdk-python python-dotenv
   ```

2. ### Set your credentials

   Add your Scalekit credentials to your `.env` file. Find values in **[app.scalekit.com](https://app.scalekit.com)** > **Developers** > **API Credentials**.

   ```sh title=".env"
   SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
   SCALEKIT_CLIENT_ID=<your-client-id>
   SCALEKIT_CLIENT_SECRET=<your-client-secret>
   ```

3. ### Create the Microsoft 365 connection

   In **AgentKit > Connections**, create a Microsoft 365 connection. The name you give it is the `connection_name` your code passes. See [Configure connections](/agentkit/connections/).

   Scalekit credentials are available for Microsoft 365, so you don't need to register an OAuth app. To show your own app on the consent screen, use your own credentials instead.

   **Use your own OAuth app:**

   Register your Scalekit environment with the Microsoft 365 connector so Scalekit handles the authentication flow and token lifecycle for you. The connection name you create will be used to identify and invoke the connection programmatically. Then complete the configuration in your application as follows:

   1. ### Create the Microsoft 365 connection in Scalekit

      - In [Scalekit dashboard](https://app.scalekit.com), go to **AgentKit** > **Connections** > **Create Connection**. Search for **Microsoft 365** and click **Create**.

      - In the **Configure Microsoft 365 Connection** dialog, copy the **Redirect URI**. You will need this when registering your app in Azure.

   2. ### Register an application in Azure

      - Sign into [portal.azure.com](https://portal.azure.com) and go to **Microsoft Entra ID** → **App registrations**.

      - Click **New registration**. Enter a name for your app (for example, "Scalekit Microsoft 365 Connector").

      - Under **Supported account types**, select **Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts**.

      - Under **Redirect URI**, select **Web** and paste the redirect URI you copied from the Scalekit dashboard. Click **Register**.

   3. ### Get your client credentials

      - From the app's **Overview** page, copy the **Application (client) ID**.

      - Go to **Certificates & secrets** in the left sidebar, then click **+ New client secret**.

      - Enter a description (for example, "Secret for Scalekit Agent Actions"), set an expiry period, and click **Add**. Copy the secret **Value** immediately — it is only shown once.

   4. ### Add credentials in Scalekit

      - In [Scalekit dashboard](https://app.scalekit.com), go to **AgentKit** > **Connections** and open the Microsoft 365 connection you created.

      - Enter your credentials:
        - **Client ID** — the Application (client) ID from the Azure app overview
        - **Client Secret** — the secret value from Certificates & secrets
        - **Scopes** — select the permissions your app needs (for example, `Calendars.Read`, `Calendars.ReadWrite`, `Mail.Read`, `Mail.ReadWrite`, `Mail.Send`, `Contacts.Read`, `Contacts.ReadWrite`, `User.Read`, `offline_access`). See [Microsoft Graph permissions reference](https://learn.microsoft.com/en-us/graph/permissions-reference) for the full list.

      - Click **Save**.

4. ### Authorize a user and make your first call

   **Node.js** (`quickstart.mts`)

   ```typescript
   import { ScalekitClient } from '@scalekit-sdk/node'
   import 'dotenv/config'
   import { createInterface } from 'node:readline/promises'

   const scalekit = new ScalekitClient(
     process.env.SCALEKIT_ENVIRONMENT_URL,
     process.env.SCALEKIT_CLIENT_ID,
     process.env.SCALEKIT_CLIENT_SECRET,
   )
   const actions = scalekit.actions

   const connector = 'microsoft365'
   const identifier = 'user_123'

   // Generate an authorization link for the user
   const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
   console.log('Authorize Microsoft 365:', link)
   const rl = createInterface({ input: process.stdin, output: process.stdout })
   await rl.question('Press Enter after authorizing...')
   rl.close()

   // Make your first call
   const result = await actions.executeTool({
     connector,
     identifier,
     toolName: 'microsoft365_onedrive_get_drive',
     toolInput: {},
   })
   console.log(result)
   ```

   ```bash
   npx tsx quickstart.mts
   ```

   **Python** (`quickstart.py`)

   ```python
   import os
   from scalekit import ScalekitClient
   from dotenv import load_dotenv
   load_dotenv()

   scalekit_client = ScalekitClient(
       env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),
       client_id=os.getenv("SCALEKIT_CLIENT_ID"),
       client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),
   )
   actions = scalekit_client.actions

   connection_name = "microsoft365"
   identifier = "user_123"

   # Generate an authorization link for the user
   link_response = actions.get_authorization_link(
       connection_name=connection_name,
       identifier=identifier,
   )
   print("Authorize Microsoft 365:", link_response.link)
   input("Press Enter after authorizing...")

   # Make your first call
   result = actions.execute_tool(
       tool_input={},
       tool_name="microsoft365_onedrive_get_drive",
       connection_name=connection_name,
       identifier=identifier,
   )
   print(result)
   ```

   ```bash
   python quickstart.py
   ```

   Each user signs in once. See [Authorize a user](/agentkit/tools/authorize/) for the full flow and statuses.

## Tools

Pass the exact name to `execute_tool`, with an input like each tool's example. To ask for a tool that's missing, use the [request form](https://scalekitsupport.portal.usepylon.com/forms/request-a-connector-tool).

**Node.js**

```typescript
const result = await actions.executeTool({
  toolName: 'microsoft365_excel_export_to_pdf',
  toolInput: {
    item_id: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K',
  },
  connector: 'microsoft365',
  identifier: 'user_123',
})
```

**Python**

```python
result = actions.execute_tool(
    tool_name="microsoft365_excel_export_to_pdf",
    tool_input={
        "item_id": "01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K",
    },
    connection_name="microsoft365",
    identifier="user_123",
)
```

`result.data` is the app's response as JSON, and `result.execution_id` (`executionId` in Node.js) is the ID of the call.

### `microsoft365_excel_export_to_pdf`

Export Excel to PDF · Read-only

Export an Excel workbook stored in OneDrive to PDF format. Uses the Microsoft Graph OneDrive content endpoint with format=pdf query parameter. Returns the PDF binary content. The response may be a direct 200 with the PDF body or a 302 redirect to a download URL depending on file size.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file to export. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_excel_get_range`

Get Excel Range · Read-only

Retrieve the values, formulas, format, and address of a cell range in an Excel worksheet stored in OneDrive. Specify the range using standard Excel notation (e.g., 'A1:C10' or 'B2'). Optionally accepts a workbook session ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `address` (`string`, required): Cell range address in Excel notation to retrieve. Examples: 'A1' for a single cell, 'A1:C10' for a multi-cell range, 'Sheet1!A1:B5' to target a specific sheet within the address.
- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `worksheet_id` (`string`, required): Worksheet name or GUID containing the range. Example: 'Sheet1' or '{00000000-0001-0000-0000-000000000000}'.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"address":"A1:D10","item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","worksheet_id":"Sheet1"}`

### `microsoft365_excel_get_table`

Get Excel Table · Read-only

Retrieve details of a specific table in an Excel workbook stored in OneDrive, including its name, style, column count, and header/total row settings. Accepts either a numeric table ID or the table name.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `table_id` (`string`, required): Table name or numeric ID to retrieve. Example: 'Table1' or '1'. Both the table name and the workbook-assigned numeric ID are accepted.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","table_id":"Table1"}`

### `microsoft365_excel_get_used_range`

Get Excel Used Range · Read-only

Get the smallest range that encompasses all cells in a worksheet that have a value or formatting, without needing to know the data's exact boundaries ahead of time.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file.
- `worksheet_id` (`string`, required): Worksheet name or GUID containing the data.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","worksheet_id":"Sheet1"}`

### `microsoft365_excel_get_worksheet`

Get Excel Worksheet · Read-only

Retrieve the properties of a specific worksheet in an Excel workbook stored in OneDrive. Use the worksheet name or its GUID as the worksheet_id. Optionally accepts a workbook session ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `worksheet_id` (`string`, required): The worksheet name or GUID to retrieve. Use the sheet tab name (e.g., 'Sheet1') or the worksheet's unique GUID. Example: 'Sheet1' or '{00000000-0001-0000-0000-000000000000}'.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","worksheet_id":"Sheet1"}`

### `microsoft365_excel_list_charts`

List Excel Charts · Read-only

List all charts in an Excel worksheet stored in OneDrive. Returns chart names, IDs, type, dimensions, and position. Supports OData $top for pagination.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `worksheet_id` (`string`, required): Worksheet name or GUID containing the charts to list. Example: 'Sheet1'.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.
- `top` (`integer`, optional): Maximum number of charts to return (1–1000). Defaults to server-defined page size.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","worksheet_id":"Sheet1"}`

### `microsoft365_excel_list_comments`

List Excel Comments · Read-only

List all comments in an Excel workbook stored in OneDrive. Returns comment IDs, author information, content, cell location, and creation date. Supports OData $top for pagination.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.
- `top` (`integer`, optional): Maximum number of comments to return (1–1000). Defaults to server-defined page size.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_excel_list_named_items`

List Excel Named Items · Read-only

List all named items (named ranges and constants) in an Excel workbook stored in OneDrive. Returns the name, type, value, and scope for each named item. Supports OData $top for pagination and $select for field projection.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `select` (`string`, optional): Comma-separated list of properties to return for each named item. Example: 'name,type,value' to return only those fields.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.
- `top` (`integer`, optional): Maximum number of named items to return (1–1000). Defaults to server-defined page size.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_excel_list_pivot_tables`

List Excel Pivot Tables · Read-only

List the pivot tables present in an Excel worksheet, including their names and IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file.
- `worksheet_id` (`string`, required): Worksheet name or GUID containing the pivot tables.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","worksheet_id":"Sheet1"}`

### `microsoft365_excel_list_table_columns`

List Excel Table Columns · Read-only

List all columns in an Excel table in a workbook stored in OneDrive. Returns column objects including their name, index, and values. Supports OData pagination with $top and field selection with $select.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `table_id` (`string`, required): Table name or numeric ID whose columns to list. Example: 'Table1' or '1'.
- `select` (`string`, optional): Comma-separated list of properties to return for each column. Example: 'id,name' to return only the column ID and name.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.
- `top` (`integer`, optional): Maximum number of columns to return. Useful for tables with many columns. Example: 10.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","table_id":"Table1"}`

### `microsoft365_excel_list_table_rows`

List Excel Table Rows · Read-only

List rows in an Excel table stored in OneDrive. Returns an array of row objects, each containing a values array with the cell data. Supports OData pagination with $top and $skip.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `table_id` (`string`, required): Table name or numeric ID whose rows to list. Example: 'Table1' or '1'.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.
- `skip` (`integer`, optional): Number of rows to skip for pagination. Use in combination with $top to page through large tables. Example: 20 to skip the first 20 rows.
- `top` (`integer`, optional): Maximum number of rows to return. Defaults to server page size. Example: 50 to return up to 50 rows.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","table_id":"Table1"}`

### `microsoft365_excel_list_tables`

List Excel Tables · Read-only

List all tables in an Excel workbook stored in OneDrive. Returns table names, IDs, style, and header/total row settings. Supports OData query options for pagination and field selection.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `select` (`string`, optional): Comma-separated list of properties to return. Example: 'id,name,style' to return only those fields for each table.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.
- `top` (`integer`, optional): Maximum number of tables to return (1–1000). Defaults to server-defined page size.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_excel_list_worksheets`

List Excel Worksheets · Read-only

List all worksheets in an Excel workbook stored in OneDrive. Supports OData query parameters for field selection and pagination. Optionally accepts a workbook session ID for session-based access.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `select` (`string`, optional): Comma-separated list of properties to return for each worksheet. Example: 'id,name,position,visibility'.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header for session-based access. Example: 'cluster=SN2&session=...'.
- `top` (`integer`, optional): Maximum number of worksheets to return. Example: 10.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_onedrive_download_file`

Download Drive File · Read-only

Download the binary content of a OneDrive file by its item ID. The response is the raw file bytes (not JSON). For text files this will be readable text; for binary files (images, Office documents) it will be binary data. Use the item ID from get or list operations.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): The unique ID of the OneDrive file to download. Obtain item IDs from list drive items or search drive items operations.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_onedrive_get_drive`

Get OneDrive · Read-only

Retrieve the properties of the signed-in user's default OneDrive drive, including storage quota, owner information, and drive type (personal, business, or SharePoint document library).

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `microsoft365_onedrive_get_drive_item`

Get Drive Item · Read-only

Retrieve the metadata for a specific OneDrive file or folder by its item ID. Returns properties including name, size, creation date, last modified date, MIME type, and download URL.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): The unique ID of the OneDrive file or folder to retrieve. Obtain item IDs from list or search operations.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_onedrive_get_item_in_drive`

Get Item in Drive · Read-only

Retrieve metadata for a specific file or folder in a drive by drive ID and item ID. Works across any drive accessible to the signed-in user, including SharePoint document libraries and Teams drives. Returns name, size, creation date, last modified date, MIME type, and download URL. To get an item from the signed-in user's personal OneDrive, use microsoft365_onedrive_get_drive_item instead.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `drive_id` (`string`, required): The unique ID of the drive containing the item. Obtain drive IDs from microsoft365_onedrive_list_drives or microsoft365_sharepoint_list_drives.
- `item_id` (`string`, required): The unique ID of the file or folder to retrieve. Obtain item IDs from list or search operations.

Example input: `{"drive_id":"<drive_id>","item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_onedrive_get_special_folder`

Get OneDrive Special Folder · Read-only

Retrieve a well-known OneDrive folder (Documents, Photos, App Root, etc.) by its special-folder name, without needing to know its item ID or navigate by path. The folder is created automatically the first time it is written to.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `name` (`string`, required): The special folder name to look up. One of: `documents`, `photos`, `cameraroll`, `approot`, `music`, `recordings`.

Example input: `{"name":"Column1"}`

### `microsoft365_onedrive_get_thumbnails`

Get Drive Item Thumbnails · Read-only

Retrieve thumbnail images for a specific OneDrive file or folder. Returns a collection of thumbnail sets including small, medium, and large thumbnail URLs. Useful for displaying file previews.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): The unique ID of the OneDrive file or folder whose thumbnails to retrieve. Obtain item IDs from list or get drive item operations.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_onedrive_get_version_content`

Get Drive Item Version Content · Read-only

Download the binary content of a specific version of a OneDrive file. Returns the raw file bytes for the requested version. The response is a redirect (302) or direct download (200) depending on the client.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): The unique ID of the OneDrive file whose version content to download. Obtain item IDs from list or get drive item operations.
- `version_id` (`string`, required): The unique ID of the version to download. Obtain version IDs from the list versions operation. Example: '1.0' or a GUID string.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","version_id":"1.0"}`

### `microsoft365_onedrive_list_activities`

List Drive Item Activities · Read-only

Retrieve the activity feed for a specific OneDrive file or folder. Returns a list of recent actions performed on the item, including who made changes, when, and what type of action was taken (create, edit, delete, share, etc.).

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): The unique ID of the OneDrive file or folder whose activity feed to retrieve. Obtain item IDs from list or get drive item operations.
- `filter` (`string`, optional): OData filter expression to narrow activity results. Example: "times/recordedTime ge 2024-01-01T00:00:00Z" to filter by date.
- `top` (`integer`, optional): Maximum number of activity records to return per page. Accepts an integer between 1 and 1000. Default: 25. Default: `25`.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_onedrive_list_drive_items`

List Drive Items · Read-only

List the children (files and folders) of a folder in the signed-in user's personal OneDrive. Use "root" as the item_id to list top-level contents. To list children in a specific drive by drive ID (e.g. a SharePoint document library), use microsoft365_onedrive_list_items_in_drive instead.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): The ID of the folder whose children to list. Use "root" to list top-level OneDrive contents. Obtain item IDs from other list or search operations.
- `filter` (`string`, optional): OData filter expression to narrow results. Example: "file ne null" returns only files; "folder ne null" returns only folders.
- `orderby` (`string`, optional): Property to sort results by. Example: "name asc" or "lastModifiedDateTime desc".
- `select` (`string`, optional): Comma-separated list of properties to return. Example: "id,name,size,lastModifiedDateTime" reduces response payload.
- `skip` (`integer`, optional): Number of items to skip for pagination. Use with $top to page through results.
- `top` (`integer`, optional): Maximum number of items to return per page (default: 25). Accepts values 1–999. Default: `25`.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_onedrive_list_drives`

List OneDrive Drives · Read-only

List all drives accessible to the signed-in user, including personal OneDrive, SharePoint document libraries, and shared drives. Supports OData $top for pagination and $select for field selection.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `select` (`string`, optional): Comma-separated list of drive properties to return. Example: "id,name,driveType,quota" reduces response payload to only those fields.
- `top` (`integer`, optional): Maximum number of drives to return per page. Accepts values 1–999. Defaults to server-side limit if omitted.

Example input: `{}`

### `microsoft365_onedrive_list_item_versions_in_drive`

List Item Versions in Drive · Read-only

Retrieve the version history for a file in a specific drive by drive ID and item ID. Works across any drive accessible to the signed-in user, including SharePoint document libraries and Teams drives. Returns version ID, last modified time, size, and the identity of the user who made each change. To list versions in the signed-in user's personal OneDrive, use microsoft365_onedrive_list_versions instead.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `drive_id` (`string`, required): The unique ID of the drive containing the file. Obtain drive IDs from microsoft365_onedrive_list_drives or microsoft365_sharepoint_list_drives.
- `item_id` (`string`, required): The unique ID of the file whose version history to list. Obtain item IDs from list or get item operations.
- `top` (`integer`, optional): Maximum number of version entries to return per page. Accepts values 1–1000. Default: 25. Default: `25`.

Example input: `{"drive_id":"<drive_id>","item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_onedrive_list_items_in_drive`

List Items in Drive · Read-only

List the children (files and folders) of a folder in a specific drive by drive ID. Works across any drive accessible to the signed-in user, including SharePoint document libraries and Teams drives. Use "root" as item_id to list top-level contents of the drive. To list items in the signed-in user's personal OneDrive, use microsoft365_onedrive_list_drive_items instead.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `drive_id` (`string`, required): The unique ID of the drive containing the folder. Obtain drive IDs from microsoft365_onedrive_list_drives or microsoft365_sharepoint_list_drives.
- `item_id` (`string`, required): The ID of the folder whose children to list. Use "root" to list top-level contents of the drive.
- `filter` (`string`, optional): OData filter expression to narrow results. Example: "file ne null" returns only files; "folder ne null" returns only folders.
- `orderby` (`string`, optional): Property to sort results by. Example: "name asc" or "lastModifiedDateTime desc".
- `select` (`string`, optional): Comma-separated list of properties to return. Example: "id,name,size,lastModifiedDateTime" reduces response payload.
- `skip` (`integer`, optional): Number of items to skip for pagination. Use with $top to page through results.
- `top` (`integer`, optional): Maximum number of items to return per page (default: 25). Accepts values 1–999. Default: `25`.

Example input: `{"drive_id":"<drive_id>","item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_onedrive_list_permissions`

List Drive Item Permissions · Read-only

Retrieve the list of permissions (sharing and access grants) for a specific OneDrive file or folder. Returns all permission objects including sharing links, individual user grants, and inherited permissions.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): The unique ID of the OneDrive file or folder whose permissions to list. Obtain item IDs from list or get drive item operations.
- `top` (`integer`, optional): Maximum number of permission entries to return per page. Accepts an integer between 1 and 100. Default: 25. Default: `25`.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_onedrive_list_recent_items`

List Recent Drive Items · Read-only

List files recently viewed or modified by the signed-in user in OneDrive. Returns the most recently accessed items across all drives the user has access to.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `top` (`integer`, optional): Maximum number of recent items to return. Accepts values 1–999.

Example input: `{}`

### `microsoft365_onedrive_list_shared_items`

List Shared Drive Items · Read-only

List files and folders that have been shared with the signed-in user from other people's OneDrive accounts or SharePoint sites.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `top` (`integer`, optional): Maximum number of shared items to return. Accepts values 1–999.

Example input: `{}`

### `microsoft365_onedrive_list_versions`

List Drive Item Versions · Read-only

Retrieve the version history for a specific OneDrive file by its item ID. Returns a list of version objects including version ID, last modified time, size, and the identity of the user who made each change.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): The unique ID of the OneDrive file whose version history to list. Obtain item IDs from list or get drive item operations.
- `top` (`integer`, optional): Maximum number of version entries to return per page. Accepts an integer between 1 and 1000. Default: 25. Default: `25`.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_onedrive_preview_drive_item`

Preview OneDrive Item · Read-only

Obtain a short-lived embeddable preview URL for a OneDrive file, suitable for rendering the file inline in a web page. For long-lived shareable links, use create_sharing_link instead.

Read only: yes. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): The unique identifier of the OneDrive file to generate a preview for.
- `page` (`string`, optional): Optional page number of the document to start at, if applicable.
- `zoom` (`integer`, optional): Optional zoom level to start the preview at, if applicable.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_onedrive_resolve_shared_link`

Resolve Shared Link · Read-only

Resolve a OneDrive or SharePoint sharing URL (e.g. a link pasted from the browser) into a drive item, returning its full metadata including drive ID, item ID, name, and download URL. The sharing URL must be base64url-encoded before passing it as encoded_sharing_url. Encoding: base64url(url) with no padding, prefixed with "u!" — e.g. u!aHR0cHM6Ly4uLg.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `encoded_sharing_url` (`string`, required): The base64url-encoded sharing URL prefixed with "u!". To encode: take the full sharing URL, base64url-encode it (no padding), then prepend "u!". Example: "u!aHR0cHM6Ly9jb250b3NvLnNoYXJlcG9pbnQuY29tLy4uLg".

Example input: `{"encoded_sharing_url":"u!aHR0cHM6Ly9jb250b3NvLnNoYXJlcG9pbnQuY29tLy4uLg"}`

### `microsoft365_onedrive_search_drive_items`

Search Drive Items · Read-only

Search the signed-in user's personal OneDrive (root) for files and folders matching a query string. Searches across file names, content, and metadata. To search within a specific drive by drive ID (e.g. a SharePoint document library), use microsoft365_onedrive_search_items_in_drive instead.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `query` (`string`, required): Search query string to find files or folders by name or content. Example: "budget 2024" searches for items containing that text.
- `select` (`string`, optional): Comma-separated list of properties to return. Example: "id,name,size,webUrl" reduces response payload.
- `top` (`integer`, optional): Maximum number of results to return. Accepts values 1–999.

Example input: `{"query":"budget 2024"}`

### `microsoft365_onedrive_search_items_in_drive`

Search Items in Drive · Read-only

Search for files and folders within a specific drive by drive ID. Works across any drive accessible to the signed-in user, including SharePoint document libraries and Teams drives. To search the signed-in user's personal OneDrive, use microsoft365_onedrive_search_drive_items instead.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `drive_id` (`string`, required): The unique ID of the drive to search within. Obtain drive IDs from microsoft365_onedrive_list_drives or microsoft365_sharepoint_list_drives.
- `query` (`string`, required): Search query string to find files or folders by name or content. Example: "budget 2024" searches for items containing that text.
- `select` (`string`, optional): Comma-separated list of properties to return. Example: "id,name,size,webUrl" reduces response payload.
- `top` (`integer`, optional): Maximum number of results to return. Accepts values 1–999.

Example input: `{"drive_id":"<drive_id>","query":"budget 2024"}`

### `microsoft365_onenote_get_page_content`

Get OneNote Page Content · Read-only

Retrieve the full HTML content of a OneNote page by page ID. Returns raw HTML (Content-Type: text/html), not JSON — the response body is the page's markup, including any embedded images as data URIs or object references. Set include_ids to true to have the server annotate elements with data-id attributes, useful for building a subsequent content-update request. Requires Notes.Read, Notes.Create, or Notes.ReadWrite scope.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `page_id` (`string`, required): The unique ID of the OneNote page whose content to retrieve. Obtain page IDs from microsoft365_onenote_list_pages or microsoft365_onenote_create_page.
- `include_ids` (`boolean`, optional): When true, the returned HTML includes data-id attributes on elements so they can be targeted by a later page-content update. Default: false. Default: `false`.

Example input: `{"page_id":"<page_id>"}`

### `microsoft365_onenote_list_notebooks`

List OneNote Notebooks · Read-only

List all OneNote notebooks owned by or shared with the signed-in user. Returns each notebook's id, displayName, createdDateTime, lastModifiedDateTime, userRole, isShared, sectionsUrl, and sectionGroupsUrl. Requires Notes.Read, Notes.Create, or Notes.ReadWrite scope.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `filter` (`string`, optional): OData filter expression to narrow results. Example: "displayName eq 'Work Notebook'".
- `orderby` (`string`, optional): Property to sort results by. Example: "displayName desc". The default sort order is "displayName asc".
- `select` (`string`, optional): Comma-separated list of notebook properties to return. Example: "id,displayName,lastModifiedDateTime" reduces response payload.
- `skip` (`integer`, optional): Number of notebooks to skip for pagination.
- `top` (`integer`, optional): Maximum number of notebooks to return per page. Accepts values 1-999.

Example input: `{}`

### `microsoft365_onenote_list_pages`

List OneNote Pages · Read-only

List the OneNote pages inside a specific section. Returns each page's id, title, createdByAppId, contentUrl, and lastModifiedDateTime. By default returns the top 20 pages ordered by lastModifiedDateTime descending; the maximum for $top is 100. Use microsoft365_onenote_get_page_content to fetch a page's HTML body. Requires Notes.Read, Notes.Create, or Notes.ReadWrite scope.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `section_id` (`string`, required): The unique ID of the section whose pages to list. Obtain section IDs from microsoft365_onenote_list_sections or microsoft365_onenote_create_section.
- `filter` (`string`, optional): OData filter expression to narrow results. Example: "contains(tolower(title),'standup')".
- `orderby` (`string`, optional): Property to sort results by. Example: "title asc". The default sort order is "lastModifiedDateTime desc".
- `select` (`string`, optional): Comma-separated list of page properties to return. Example: "id,title,lastModifiedDateTime" reduces response payload.
- `skip` (`integer`, optional): Number of pages to skip for pagination.
- `top` (`integer`, optional): Maximum number of pages to return per page of results (default: 20). The server-enforced maximum is 100. Default: `20`.

Example input: `{"section_id":"<section_id>"}`

### `microsoft365_onenote_list_sections`

List OneNote Sections · Read-only

List the OneNote sections inside a specific notebook. Returns each section's id, displayName, isDefault, pagesUrl, createdDateTime, and lastModifiedDateTime. Requires Notes.Create, Notes.Read, or Notes.ReadWrite scope.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `notebook_id` (`string`, required): The unique ID of the notebook whose sections to list. Obtain notebook IDs from microsoft365_onenote_list_notebooks or microsoft365_onenote_create_notebook.
- `filter` (`string`, optional): OData filter expression to narrow results. Example: "displayName eq 'Meeting Notes'".
- `orderby` (`string`, optional): Property to sort results by. Example: "lastModifiedDateTime desc". The default sort order is "displayName asc".
- `select` (`string`, optional): Comma-separated list of section properties to return. Example: "id,displayName,pagesUrl" reduces response payload.
- `skip` (`integer`, optional): Number of sections to skip for pagination.
- `top` (`integer`, optional): Maximum number of sections to return per page. Accepts values 1-999.

Example input: `{"notebook_id":"<notebook_id>"}`

### `microsoft365_outlook_find_meeting_times`

Find Meeting Times · Read-only

Find available meeting time slots for a set of attendees using Microsoft Graph's findMeetingTimes API. Returns a list of suggested meeting times when all required attendees are available within the given time window.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `attendee_emails` (`array`, required): Array of attendee email addresses to check availability for. Example: ["alice@example.com", "bob@example.com"]
- `end_date_time` (`string`, required): End of the time window to search for meeting times, in ISO 8601 format (e.g., 2025-01-15T18:00:00). The API will not suggest slots after this time.
- `meeting_duration` (`string`, required): Duration of the desired meeting in ISO 8601 duration format (e.g., PT30M for 30 minutes, PT1H for 1 hour, PT1H30M for 1.5 hours).
- `start_date_time` (`string`, required): Start of the time window to search for meeting times, in ISO 8601 format (e.g., 2025-01-15T08:00:00). The API will look for available slots at or after this time.
- `is_organizer_optional` (`boolean`, optional): Whether the meeting organizer's presence is optional. When true, the organizer's calendar is not checked for availability. Defaults to false. Default: `false`.
- `max_candidates` (`integer`, optional): Maximum number of meeting time suggestions to return. Defaults to 20. Acceptable range: 1-40. Default: `20`.
- `time_zone` (`string`, optional): IANA time zone identifier for interpreting start_date_time and end_date_time (e.g., "UTC", "America/New_York", "Europe/London"). Defaults to UTC. Default: `UTC`.

Example input: `{"attendee_emails":["alice@example.com","bob@example.com"],"end_date_time":"2024-12-31T23:59:59Z","meeting_duration":"<meeting_duration>","start_date_time":"2024-01-01T00:00:00Z"}`

### `microsoft365_outlook_get_attachment`

Get Attachment · Read-only

Download a specific attachment from an Outlook email message by attachment ID. Returns the full attachment including base64-encoded file content in the contentBytes field. Use List Attachments to get the attachment ID first.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `attachment_id` (`string`, required): The ID of the attachment to download.
- `message_id` (`string`, required): The ID of the message containing the attachment.

Example input: `{"attachment_id":"<attachment_id>","message_id":"<message_id>"}`

### `microsoft365_outlook_get_calendar`

Get Calendar · Read-only

Retrieve the properties of a specific calendar by ID, such as its name, color, and sharing permissions.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `calendar_id` (`string`, required): The unique identifier of the calendar to retrieve.

Example input: `{"calendar_id":"<calendar_id>"}`

### `microsoft365_outlook_get_calendar_event`

Get Calendar Event · Read-only

Retrieve an existing calendar event by ID from the user's Outlook calendar.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `event_id` (`string`, required): No description.

Example input: `{"event_id":"AAMkAGI2..."}`

### `microsoft365_outlook_get_calendar_view`

Get Calendar View · Read-only

Retrieve a collection of calendar events within a specific time range from the user's primary Outlook calendar. Returns all occurrences, exceptions, and single instances of events whose start/end times fall within the specified window.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `endDateTime` (`string`, required): End of the time range in ISO 8601 format (e.g., 2025-01-31T23:59:59). The calendar view returns events that end or overlap with this time.
- `startDateTime` (`string`, required): Start of the time range in ISO 8601 format (e.g., 2025-01-01T00:00:00). The calendar view returns events that start or overlap with this time.
- `filter` (`string`, optional): OData filter expression to further narrow results (e.g., "subject eq 'Team Sync'").
- `orderby` (`string`, optional): OData orderby expression to sort results (e.g., "start/dateTime asc").
- `select` (`string`, optional): Comma-separated list of properties to include in the response (e.g., "subject,start,end,location"). Reduces payload size.
- `top` (`integer`, optional): Maximum number of events to return (1-1000). Defaults to 10 if omitted.

Example input: `{"endDateTime":"<endDateTime>","startDateTime":"<startDateTime>"}`

### `microsoft365_outlook_get_contact`

Get Contact · Read-only

Retrieve a specific contact by ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `contact_id` (`string`, required): Contact ID.
- `expand` (`string`, optional): Expand relationships.
- `select` (`string`, optional): Select properties.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"contact_id":"AAMkAGI2..."}`

### `microsoft365_outlook_get_contact_photo`

Get Contact Photo · Read-only

Retrieve the profile photo of a specific contact in the signed-in user's mailbox. Returns binary image data (JPEG). A 404 response indicates no photo is set for this contact.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `contact_id` (`string`, required): The unique ID of the contact whose photo to retrieve (e.g., 'AAMkAGI2...'). Obtain from List Contacts or Get Contact.

Example input: `{"contact_id":"AAMkAGI2..."}`

### `microsoft365_outlook_get_event_attachment`

Get Event Attachment · Read-only

Download a specific attachment from a calendar event by attachment ID. Returns the full attachment including base64-encoded file content in the contentBytes field. Use List Event Attachments to get the attachment ID first.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `attachment_id` (`string`, required): The ID of the attachment to download.
- `event_id` (`string`, required): The ID of the event containing the attachment.

Example input: `{"attachment_id":"<attachment_id>","event_id":"AAMkAGI2..."}`

### `microsoft365_outlook_get_free_busy_schedule`

Get Free/Busy Schedule · Read-only

Retrieve the free/busy availability schedule for one or more users, rooms, or resources within a specific time window. Returns availability view, schedule items, and working hours for each requested address.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `end_date_time` (`string`, required): End of the time window to retrieve schedule availability, in ISO 8601 format (e.g., 2025-01-15T18:00:00).
- `schedules` (`array`, required): Array of SMTP email addresses of users, distribution lists, or resources to get free/busy information for. Example: ["alice@example.com", "room@example.com"]
- `start_date_time` (`string`, required): Start of the time window to retrieve schedule availability, in ISO 8601 format (e.g., 2025-01-15T08:00:00).
- `availability_view_interval` (`integer`, optional): Duration in minutes of each time slot in the availability view string. Valid values: 5, 6, 10, 15, 20, 30, 60 (default), 120, 240, 480, or 1440. Default: `60`.
- `time_zone` (`string`, optional): IANA time zone identifier for interpreting start and end times (e.g., "UTC", "America/New_York", "Europe/London"). Defaults to UTC. Default: `UTC`.

Example input: `{"end_date_time":"2024-12-31T23:59:59Z","schedules":["alice@example.com","room@example.com"],"start_date_time":"2024-01-01T00:00:00Z"}`

### `microsoft365_outlook_get_mail_folder`

Get Mail Folder · Read-only

Retrieve the properties of a specific mail folder by ID, including its display name, parent folder, and item counts. Accepts well-known folder names such as 'inbox', 'drafts', or 'sentitems'.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `folder_id` (`string`, required): The unique identifier or well-known name (e.g. 'inbox', 'drafts') of the mail folder.

Example input: `{"folder_id":"inbox"}`

### `microsoft365_outlook_get_mail_tips`

Get Mail Tips · Read-only

Get mail tips for a list of recipients before sending an email.

Read only: yes. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `email_addresses` (`array`, required): Recipient email addresses.
- `mail_tips_options` (`string`, required): Mail tip types.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"email_addresses":[],"mail_tips_options":"<mail_tips_options>"}`

### `microsoft365_outlook_get_message`

Get Message · Read-only

Retrieve a specific email message by ID from the user's Outlook mailbox, including full body content, sender, recipients, attachments info, and metadata.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `message_id` (`string`, required): The ID of the message to retrieve.

Example input: `{"message_id":"<message_id>"}`

### `microsoft365_outlook_get_shared_contact`

Get Shared Contact · Read-only

Get a single contact from another user's (a colleague's) contacts by contact ID. Targets /users/{id}/contacts/{contact_id}. Requires Contacts.Read application permission or delegated access granted by the target user.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `contact_id` (`string`, required): Contact ID.
- `user_id` (`string`, required): The user ID or userPrincipalName (email) of the target user whose data you are accessing (e.g., colleague@company.com or an object ID). Access must be granted via application permissions or delegated sharing.
- `expand` (`string`, optional): Expand relationships.
- `select` (`string`, optional): Select properties.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"contact_id":"AAMkAGI2...","user_id":"aaaabbbb-1234-5678-abcd-ef0123456789"}`

### `microsoft365_outlook_get_shared_mailbox_message`

Get Shared Mailbox Message · Read-only

Get a single message from a shared mailbox by message ID. Targets /users/{id}/messages/{message_id}. Requires Mail.Read or Mail.ReadWrite permission on the shared mailbox.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `message_id` (`string`, required): The ID of the message to retrieve.
- `shared_mailbox_id` (`string`, required): The email address or user ID of the shared mailbox to read the message from (e.g., support@company.com or a user object ID).

Example input: `{"message_id":"<message_id>","shared_mailbox_id":"<shared_mailbox_id>"}`

### `microsoft365_outlook_get_user_presence`

Get User Presence · Read-only

Get the presence status of a specific user.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `user_id` (`string`, required): User ID or email.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"user_id":"aaaabbbb-1234-5678-abcd-ef0123456789"}`

### `microsoft365_outlook_list_attachments`

List Attachments · Read-only

List all attachments on a specific Outlook email message. Returns attachment metadata including ID, name, size, and content type. Use the attachment ID with Get Attachment to download the file content.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `message_id` (`string`, required): The ID of the message to list attachments for.

Example input: `{"message_id":"<message_id>"}`

### `microsoft365_outlook_list_calendar_events`

List Calendar Events · Read-only

List calendar events from the user's Outlook calendar with filtering, sorting, pagination, and field selection.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `filter` (`string`, optional): OData filter expression to filter events (e.g., startsWith(subject,'All'))
- `orderby` (`string`, optional): OData orderby expression to sort events (e.g., start/dateTime desc)
- `select` (`string`, optional): Comma-separated list of properties to include in the response
- `skip` (`number`, optional): Number of events to skip for pagination
- `top` (`number`, optional): Maximum number of events to return

Example input: `{}`

### `microsoft365_outlook_list_calendar_groups`

List Calendar Groups · Read-only

List all calendar groups in the signed-in user's mailbox. Calendar groups are containers that organize multiple calendars together in Outlook.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `select` (`string`, optional): Comma-separated list of properties to return (e.g., 'name,classId'). Reduces response size.
- `top` (`integer`, optional): Maximum number of calendar groups to return (1–200, default: 10).

Example input: `{}`

### `microsoft365_outlook_list_calendar_permissions`

List Calendar Permissions · Read-only

List all sharing permissions for a specific Outlook calendar. Returns the set of users and their assigned roles (e.g., freeBusyRead, read, write, delegate) for the given calendar.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `calendar_id` (`string`, required): The unique identifier of the calendar whose permissions to list. Use 'primary' for the default calendar or a specific calendar ID from the list calendars endpoint.
- `top` (`integer`, optional): Maximum number of permission entries to return (1-1000). Defaults to all entries if omitted.

Example input: `{"calendar_id":"<calendar_id>"}`

### `microsoft365_outlook_list_calendars`

List Calendars · Read-only

Retrieve all calendars in the user mailbox.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `skip` (`integer`, optional): Skip count.
- `top` (`integer`, optional): Page size.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{}`

### `microsoft365_outlook_list_categories`

List Outlook Categories · Read-only

List all Outlook master categories defined for the signed-in user. Categories can be applied to messages, events, and contacts for color-coded organization.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `select` (`string`, optional): Comma-separated list of category properties to return (e.g., 'displayName,color').
- `top` (`integer`, optional): Maximum number of categories to return (1–200).

Example input: `{}`

### `microsoft365_outlook_list_contact_folders`

List Contact Folders · Read-only

List all contact folders in the signed-in user's mailbox. Supports OData query parameters for filtering, field selection, and pagination.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `filter` (`string`, optional): OData filter expression to narrow results (e.g., "displayName eq 'Favorites'").
- `select` (`string`, optional): Comma-separated list of properties to return (e.g., 'displayName,parentFolderId'). Reduces response size.
- `top` (`integer`, optional): Maximum number of contact folders to return (1–200, default: 10).

Example input: `{}`

### `microsoft365_outlook_list_contacts`

List Contacts · Read-only

List all contacts in the user's mailbox with support for filtering, pagination, and field selection.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `filter` (`string`, optional): Filter expression to narrow results (e.g., "emailAddresses/any(a:a/address eq 'user@example.com')")
- `orderby` (`string`, optional): Property to sort by (e.g., "displayName")
- `select` (`string`, optional): Comma-separated list of properties to return (e.g., "displayName,emailAddresses,phoneNumbers")
- `skip` (`integer`, optional): Number of contacts to skip for pagination
- `top` (`integer`, optional): Number of contacts to return (default: 10)

Example input: `{}`

### `microsoft365_outlook_list_event_attachments`

List Event Attachments · Read-only

List all attachments on a specific calendar event. Returns attachment metadata including ID, name, size, and content type. Use the attachment ID with Get Event Attachment to download the file content.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `event_id` (`string`, required): The ID of the event to list attachments for.

Example input: `{"event_id":"AAMkAGI2..."}`

### `microsoft365_outlook_list_event_instances`

List Event Instances · Read-only

List all instances (occurrences) of a recurring calendar event within a specified date-time range. Requires the master recurring event ID and a start/end window in ISO 8601 format.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `end_date_time` (`string`, required): End of the time window to query for instances, in ISO 8601 format (e.g., '2024-12-31T23:59:59Z'). Required by Microsoft Graph.
- `event_id` (`string`, required): The unique ID of the master recurring event whose instances to list (e.g., 'AAMkAGI2...'). This must be the series master event ID, not an individual occurrence.
- `start_date_time` (`string`, required): Start of the time window to query for instances, in ISO 8601 format (e.g., '2024-01-01T00:00:00Z'). Required by Microsoft Graph.
- `select` (`string`, optional): Comma-separated list of event properties to return (e.g., 'subject,start,end'). Reduces response size.
- `top` (`integer`, optional): Maximum number of event instances to return (1–200, default: 10).

Example input: `{"end_date_time":"2024-12-31T23:59:59Z","event_id":"AAMkAGI2...","start_date_time":"2024-01-01T00:00:00Z"}`

### `microsoft365_outlook_list_focused_inbox_overrides`

List Focused Inbox Overrides · Read-only

List all Focused Inbox overrides for the signed-in user. Overrides define how messages from specific senders are classified — either into the Focused inbox or the Other inbox — overriding the automatic machine learning classification.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `select` (`string`, optional): Comma-separated list of properties to return (e.g., 'classifyAs,senderEmailAddress').
- `top` (`integer`, optional): Maximum number of overrides to return per page.

Example input: `{}`

### `microsoft365_outlook_list_folder_delta`

List Mail Folder Delta · Read-only

Get incremental changes (delta sync) for mail folders in the user's mailbox using Microsoft Graph delta query. Returns new, updated, and deleted folders since the last sync. The response includes @odata.nextLink for pagination or @odata.deltaLink for the next delta call.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `deltatoken` (`string`, optional): Delta token from a previous @odata.deltaLink response to retrieve only folder changes since the last sync. Omit on first call to get a full initial sync.
- `select` (`string`, optional): Comma-separated list of folder properties to return (e.g., 'displayName,parentFolderId,totalItemCount,unreadItemCount').
- `top` (`integer`, optional): Maximum number of folders to return per page (1–250).

Example input: `{}`

### `microsoft365_outlook_list_mail_folders`

List Mail Folders · Read-only

List all mail folders in the user mailbox.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `include_hidden` (`boolean`, optional): Include hidden folders.
- `skip` (`integer`, optional): Skip count.
- `top` (`integer`, optional): Page size.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{}`

### `microsoft365_outlook_list_message_delta`

List Message Delta · Read-only

Get incremental changes (delta sync) for messages in a specific mail folder using Microsoft Graph delta query. Returns new, updated, and deleted messages since the last sync. The response includes @odata.nextLink for pagination or @odata.deltaLink for the next delta call. Pass $deltatoken from a previous deltaLink to get only changes since then.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `folder_id` (`string`, required): The mail folder ID or well-known name to sync (e.g., 'inbox', 'sentitems', 'drafts', or a specific folder ID).
- `deltatoken` (`string`, optional): Delta token from a previous @odata.deltaLink response to retrieve only changes since the last sync. Omit on first call to get a full initial sync.
- `select` (`string`, optional): Comma-separated list of properties to return (e.g., 'subject,from,receivedDateTime,isRead'). Reduces response size.
- `skiptoken` (`string`, optional): Skip token from a previous @odata.nextLink response to continue paginating through a large delta result set.
- `top` (`integer`, optional): Maximum number of messages to return per page (1–1000).

Example input: `{"folder_id":"inbox"}`

### `microsoft365_outlook_list_message_rules`

List Message Rules · Read-only

List all inbox message rules for the user.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{}`

### `microsoft365_outlook_list_messages`

List Messages · Read-only

List all messages in the user's mailbox with support for filtering, pagination, and field selection. Returns 10 messages by default.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `filter` (`string`, optional): Filter expression to narrow results (e.g., "from/emailAddress/address eq 'user@example.com'")
- `orderby` (`string`, optional): Property to sort by (e.g., "receivedDateTime desc")
- `select` (`string`, optional): Comma-separated list of properties to return (e.g., "subject,from,receivedDateTime")
- `skip` (`integer`, optional): Number of messages to skip for pagination
- `top` (`integer`, optional): Number of messages to return (1-1000, default: 10)

Example input: `{}`

### `microsoft365_outlook_list_shared_calendar_events`

List Shared Calendar Events · Read-only

Retrieve calendar events from another user shared calendar.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `end_date_time` (`string`, required): End date/time.
- `start_date_time` (`string`, required): Start date/time.
- `user_id` (`string`, required): User ID or email.
- `top` (`integer`, optional): Page size.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"end_date_time":"2024-12-31T23:59:59Z","start_date_time":"2024-01-01T00:00:00Z","user_id":"aaaabbbb-1234-5678-abcd-ef0123456789"}`

### `microsoft365_outlook_list_shared_contacts`

List Shared Contacts · Read-only

List contacts from another user's (a colleague's) default contacts folder. Targets /users/{id}/contacts. Requires Contacts.Read application permission or delegated access granted by the target user.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `user_id` (`string`, required): The user ID or userPrincipalName (email) of the target user whose data you are accessing (e.g., colleague@company.com or an object ID). Access must be granted via application permissions or delegated sharing.
- `filter` (`string`, optional): Filter expression to narrow results (e.g., "emailAddresses/any(a:a/address eq 'user@example.com')")
- `orderby` (`string`, optional): Property to sort by (e.g., "displayName")
- `select` (`string`, optional): Comma-separated list of properties to return (e.g., "displayName,emailAddresses,phoneNumbers")
- `skip` (`integer`, optional): Number of contacts to skip for pagination
- `top` (`integer`, optional): Number of contacts to return (default: 10)

Example input: `{"user_id":"aaaabbbb-1234-5678-abcd-ef0123456789"}`

### `microsoft365_outlook_list_shared_mailbox_messages`

List Shared Mailbox Messages · Read-only

List messages in a specific folder of a shared mailbox. Supports filtering, ordering, pagination, and field selection. Requires Mail.Read or Mail.ReadWrite permissions on the shared mailbox.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `folder_id` (`string`, required): The ID or well-known name of the mail folder to list messages from. Well-known names include: inbox, sentitems, drafts, deleteditems, junkemail, outbox, archive.
- `shared_mailbox_id` (`string`, required): The email address or user ID of the shared mailbox to read messages from (e.g., support@company.com or a user object ID).
- `filter` (`string`, optional): OData filter expression to narrow results (e.g., "isRead eq false" or "from/emailAddress/address eq 'sender@example.com'").
- `orderby` (`string`, optional): OData orderby expression to sort messages (e.g., "receivedDateTime desc").
- `select` (`string`, optional): Comma-separated list of message properties to return (e.g., "subject,from,receivedDateTime,isRead"). Reduces response payload size.
- `skip` (`integer`, optional): Number of messages to skip for pagination (0-based offset). Use with $top for paging through results.
- `top` (`integer`, optional): Maximum number of messages to return (1-1000). Defaults to 10 if omitted.

Example input: `{"folder_id":"inbox","shared_mailbox_id":"<shared_mailbox_id>"}`

### `microsoft365_outlook_list_shared_todo_lists`

List Shared To Do Lists · Read-only

List Microsoft To Do task lists belonging to another user (a colleague). Targets /users/{id}/todo/lists. Requires Tasks.Read application permission or delegated access granted by the target user.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `user_id` (`string`, required): The user ID or userPrincipalName (email) of the target user whose data you are accessing (e.g., colleague@company.com or an object ID). Access must be granted via application permissions or delegated sharing.

Example input: `{"user_id":"aaaabbbb-1234-5678-abcd-ef0123456789"}`

### `microsoft365_outlook_list_shared_todo_tasks`

List Shared To Do Tasks · Read-only

List tasks in a Microsoft To Do list belonging to another user (a colleague). Targets /users/{id}/todo/lists/{list_id}/tasks. Requires Tasks.Read application permission or delegated access granted by the target user.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `list_id` (`string`, required): The ID of the task list.
- `user_id` (`string`, required): The user ID or userPrincipalName (email) of the target user whose data you are accessing (e.g., colleague@company.com or an object ID). Access must be granted via application permissions or delegated sharing.
- `filter` (`string`, optional): OData filter expression (e.g. "status eq 'notStarted'").
- `orderby` (`string`, optional): Property to sort by (e.g. "createdDateTime desc").
- `skip` (`integer`, optional): Number of tasks to skip for pagination.
- `top` (`integer`, optional): Number of tasks to return (default: 10).

Example input: `{"list_id":"<list_id>","user_id":"aaaabbbb-1234-5678-abcd-ef0123456789"}`

### `microsoft365_outlook_mailbox_settings_get`

Get Mailbox Settings · Read-only

Retrieve the mailbox settings for the signed-in user. Returns automatic replies (out-of-office) configuration, language, timezone, working hours, date/time format, and delegate meeting message delivery preferences.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `microsoft365_outlook_search_messages`

Search Messages · Read-only

Search messages by keywords across subject, body, sender, and other fields. Returns matching messages with support for pagination.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `query` (`string`, required): Search query string (searches across subject, body, from, to)
- `select` (`string`, optional): Comma-separated list of properties to return (e.g., "subject,from,receivedDateTime")
- `skip` (`integer`, optional): Number of messages to skip for pagination
- `top` (`integer`, optional): Number of messages to return (1-1000, default: 10)

Example input: `{"query":"budget 2024"}`

### `microsoft365_outlook_search_people`

Search People · Read-only

Search for people relevant to the signed-in user by name or email.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `filter` (`string`, optional): OData filter.
- `order_by` (`string`, optional): Order by field.
- `search` (`string`, optional): Search query.
- `select` (`string`, optional): Select properties.
- `skip` (`integer`, optional): Skip count.
- `top` (`integer`, optional): Page size.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{}`

### `microsoft365_outlook_search_shared_mailbox_messages`

Search Shared Mailbox Messages · Read-only

Search messages across all folders in a shared mailbox by keyword. Searches across subject, body, sender, and recipients. Requires Mail.Read or Mail.ReadWrite permissions on the shared mailbox.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `query` (`string`, required): Search query string. Searches across subject, body, sender, and recipient fields. Example: "invoice Q1" will find messages mentioning invoice in Q1 context.
- `shared_mailbox_id` (`string`, required): The email address or user ID of the shared mailbox to search (e.g., support@company.com or a user object ID).
- `select` (`string`, optional): Comma-separated list of message properties to return (e.g., "subject,from,receivedDateTime"). Reduces response payload size.
- `top` (`integer`, optional): Maximum number of messages to return (1-1000). Defaults to 10 if omitted.

Example input: `{"query":"invoice Q1","shared_mailbox_id":"<shared_mailbox_id>"}`

### `microsoft365_outlook_todo_checklist_items_get`

Get Checklist Item · Read-only

Get a specific checklist item (subtask) from a task in a Microsoft To Do task list.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `checklist_item_id` (`string`, required): The ID of the checklist item.
- `list_id` (`string`, required): The ID of the task list.
- `task_id` (`string`, required): The ID of the task.

Example input: `{"checklist_item_id":"<checklist_item_id>","list_id":"<list_id>","task_id":"<task_id>"}`

### `microsoft365_outlook_todo_checklist_items_list`

List Checklist Items · Read-only

List all checklist items (subtasks) for a specific task in a Microsoft To Do task list.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `list_id` (`string`, required): The ID of the task list.
- `task_id` (`string`, required): The ID of the task.

Example input: `{"list_id":"<list_id>","task_id":"<task_id>"}`

### `microsoft365_outlook_todo_lists_get`

Get To Do List · Read-only

Get a specific Microsoft To Do task list by ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `list_id` (`string`, required): The ID of the task list.

Example input: `{"list_id":"<list_id>"}`

### `microsoft365_outlook_todo_lists_list`

List To Do Lists · Read-only

List all Microsoft To Do task lists for the current user.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `microsoft365_outlook_todo_tasks_get`

Get To Do Task · Read-only

Get a specific task from a Microsoft To Do task list.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `list_id` (`string`, required): The ID of the task list.
- `task_id` (`string`, required): The ID of the task.

Example input: `{"list_id":"<list_id>","task_id":"<task_id>"}`

### `microsoft365_outlook_todo_tasks_list`

List To Do Tasks · Read-only

List all tasks in a Microsoft To Do task list with optional filtering and pagination.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `list_id` (`string`, required): The ID of the task list.
- `filter` (`string`, optional): OData filter expression (e.g. "status eq 'notStarted'").
- `orderby` (`string`, optional): Property to sort by (e.g. "createdDateTime desc").
- `skip` (`integer`, optional): Number of tasks to skip for pagination.
- `top` (`integer`, optional): Number of tasks to return (default: 10).

Example input: `{"list_id":"<list_id>"}`

### `microsoft365_powerpoint_read_presentation`

Read PowerPoint Presentation as PDF · Read-only

Export a PowerPoint presentation (.pptx) from OneDrive as a PDF by requesting the file content with the format=pdf conversion parameter. Returns the PDF binary of the presentation. Note: Microsoft Graph converts the presentation server-side to PDF; it does not return Markdown or plain text. Client-side parsing is required to extract text or slide content from the returned PDF. Requires Files.Read or Files.ReadWrite scope.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): The unique OneDrive item ID of the PowerPoint presentation (.pptx) to export as PDF. Obtain item IDs from list drive items, search drive items, or get drive item operations. Example: "01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K".

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_sharepoint_download_file`

Download SharePoint File · Read-only

Download the binary content of a file from a SharePoint document library by its item ID. The response is the raw file bytes (not JSON). For text files this will be readable text; for binary files (images, Office documents) it will be binary data. Use the item ID from list or get drive item operations.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): The unique drive item ID of the file to download from the SharePoint site's document library. Obtain item IDs from list drive items or search drive items operations.
- `site_id` (`string`, required): ID of the SharePoint site that contains the file. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_find_user_by_email`

Find User by Email · Read-only

Look up an Azure Active Directory user by their email address (UPN). Returns the user's object ID, display name, and other profile properties. This is useful for resolving a user email to an object ID before adding them to a SharePoint site or group.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `email` (`string`, required): The email address (user principal name) of the Azure AD user to look up. Example: 'john.doe@contoso.com'.

Example input: `{"email":"john.doe@contoso.com"}`

### `microsoft365_sharepoint_get_list`

Get SharePoint List · Read-only

Retrieve a specific SharePoint list by its ID within a site. Optionally expand related resources such as columns and items to retrieve list metadata in a single call.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `list_id` (`string`, required): ID or name of the SharePoint list to retrieve. Can be the list GUID or the list's display name (URL-encoded).
- `site_id` (`string`, required): ID of the SharePoint site containing the list. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.
- `expand` (`string`, optional): Comma-separated list of related resources to expand. Example: 'columns,items' to include column definitions and list items in the response.

Example input: `{"list_id":"<list_id>","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_get_list_item`

Get SharePoint List Item · Read-only

Retrieve a single item from a SharePoint list by its item ID. Use '$expand=fields' to include the column values in the response.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): ID of the list item to retrieve. This is the numeric or GUID identifier of the item within the list.
- `list_id` (`string`, required): ID of the SharePoint list that contains the item. Use the list GUID or display name.
- `site_id` (`string`, required): ID of the SharePoint site that contains the list. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.
- `expand` (`string`, optional): Comma-separated list of related resources to expand. Default is 'fields' to include column values. Example: 'fields'. Default: `fields`.
- `select` (`string`, optional): Comma-separated list of properties to return. Example: 'id,createdDateTime,fields'.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","list_id":"<list_id>","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_get_search_suggestions`

Get SharePoint Search Suggestions · Read-only

Get search query suggestions for SharePoint content using the Microsoft Search beta API. Returns autocomplete suggestions based on the provided search text to help users refine their queries.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `text` (`string`, required): The partial search term for which to retrieve suggestions. Example: 'proj' returns suggestions like 'project plan', 'project budget'.

Example input: `{"text":"proj"}`

### `microsoft365_sharepoint_get_site`

Get SharePoint Site · Read-only

Retrieve properties of a SharePoint site by its ID. Use 'root' for the tenant root site, a GUID for a specific site, or the format '<hostname>:/sites/<path>' (e.g., 'contoso.sharepoint.com:/sites/Marketing').

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `site_id` (`string`, required): ID of the SharePoint site to retrieve. Use 'root' for the tenant root site, a site GUID, or the format '<hostname>:/sites/<path>' (e.g., 'contoso.sharepoint.com:/sites/Marketing').

Example input: `{"site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_get_site_page`

Get SharePoint Site Page · Read-only

Retrieve the properties of a specific SharePoint site page, including its title, layout, and publishing status.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `page_id` (`string`, required): The unique identifier of the site page to retrieve.
- `site_id` (`string`, required): ID of the SharePoint site that contains the page. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.

Example input: `{"page_id":"<page_id>","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_get_webhook`

Get SharePoint Webhook · Read-only

Retrieve the properties of a specific webhook subscription by ID, including its current expiration time.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `subscription_id` (`string`, required): The unique identifier of the subscription to retrieve.

Example input: `{"subscription_id":"abc123de-4567-89ab-cdef-0123456789ab"}`

### `microsoft365_sharepoint_list_content_types`

List SharePoint Content Types · Read-only

List all content types defined in a SharePoint site. Supports OData filtering, field selection, and pagination via $top. Content types define the metadata schema for lists and libraries.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `site_id` (`string`, required): ID of the SharePoint site whose content types to retrieve. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.
- `filter` (`string`, optional): OData filter expression to narrow results. Example: "isBuiltIn eq false" to return only custom content types.
- `select` (`string`, optional): Comma-separated list of properties to return for each content type. Example: 'id,name,description,isBuiltIn'.
- `top` (`integer`, optional): Maximum number of content types to return per page. Default is determined by the API.

Example input: `{"site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_list_drives`

List SharePoint Site Drives · Read-only

List all drives (document libraries) within a specific SharePoint site. Returns drive IDs, names, and types. Use the returned drive IDs with other drive item tools to access files within that library. To list all drives accessible to the signed-in user across all sites, use microsoft365_onedrive_list_drives instead.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `site_id` (`string`, required): The unique ID of the SharePoint site whose drives to list. Obtain site IDs from microsoft365_sharepoint_get_site or microsoft365_sharepoint_list_sites.
- `select` (`string`, optional): Comma-separated list of drive properties to return. Example: "id,name,driveType" reduces response payload.

Example input: `{"site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_list_file_versions`

List SharePoint File Versions · Read-only

List all versions of a file in a SharePoint document library. Returns version metadata including version number, last modified time, size, and the user who made each change.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): The unique drive item ID of the file whose version history to retrieve. Obtain item IDs from list drive items or get drive item operations.
- `site_id` (`string`, required): ID of the SharePoint site that contains the file. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.
- `top` (`integer`, optional): Maximum number of versions to return per page. Default is determined by the API.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_list_followed_sites`

List Followed Sites · Read-only

List all SharePoint sites that the signed-in user is following. Returns site IDs, names, URLs, and descriptions. Use the returned site IDs with microsoft365_sharepoint_get_site or microsoft365_sharepoint_list_drives to explore the site's content.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `microsoft365_sharepoint_list_list_fields`

List SharePoint List Fields · Read-only

List all column definitions (fields) for a SharePoint list. Returns metadata for each column including its name, type, and configuration. Supports OData filtering, field selection, and pagination.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `list_id` (`string`, required): ID of the SharePoint list whose column definitions to retrieve. Use the list GUID or display name.
- `site_id` (`string`, required): ID of the SharePoint site that contains the list. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.
- `filter` (`string`, optional): OData filter expression to narrow results. Example: "hidden eq false" to return only visible columns.
- `select` (`string`, optional): Comma-separated list of properties to return for each column. Example: 'id,name,displayName,columnGroup,hidden'.
- `top` (`integer`, optional): Maximum number of columns to return per page. Default is determined by the API.

Example input: `{"list_id":"<list_id>","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_list_list_items`

List SharePoint List Items · Read-only

Retrieve items from a SharePoint list. Supports OData filtering, field selection, ordering, pagination, and expanding related resources such as fields (column values).

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `list_id` (`string`, required): ID of the SharePoint list whose items to retrieve. Use the list GUID or display name.
- `site_id` (`string`, required): ID of the SharePoint site that contains the list. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.
- `expand` (`string`, optional): Comma-separated list of related resources to expand. Use 'fields' to include the column values for each item. Example: 'fields'.
- `filter` (`string`, optional): OData filter expression to narrow results. Example: "fields/Status eq 'Active'" to return only active items.
- `orderby` (`string`, optional): OData orderby expression to sort results. Example: 'fields/Title asc' or 'createdDateTime desc'.
- `select` (`string`, optional): Comma-separated list of properties to return for each item. Example: 'id,createdDateTime,fields'.
- `skip` (`integer`, optional): Number of items to skip for pagination. Use with $top to page through results.
- `top` (`integer`, optional): Maximum number of items to return per page. Default is determined by the API.

Example input: `{"list_id":"<list_id>","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_list_lists`

List SharePoint Lists · Read-only

List all lists in a SharePoint site. Supports OData filtering, field selection, pagination, and expansion of related resources such as columns and items.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `site_id` (`string`, required): ID of the SharePoint site whose lists to retrieve. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.
- `expand` (`string`, optional): Comma-separated list of related resources to expand. Example: 'columns,items' to include column definitions and list items.
- `filter` (`string`, optional): OData filter expression to narrow results. Example: "list/template eq 'documentLibrary'" to return only document libraries.
- `select` (`string`, optional): Comma-separated list of properties to return for each list. Example: 'id,displayName,description,webUrl'.
- `top` (`integer`, optional): Maximum number of lists to return per page. Default is determined by the API.

Example input: `{"site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_list_recycle_bin_items`

List SharePoint Recycle Bin Items · Read-only

List the items currently in a SharePoint site's recycle bin, such as items previously removed with recycle_item. Use restore_recycled_item to bring an item back.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `site_id` (`string`, required): ID of the SharePoint site whose recycle bin to list. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.

Example input: `{"site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_list_role_assignments`

List SharePoint Role Assignments · Read-only

List the current permission (role assignment) entries on a SharePoint site, showing which users or groups have read, write, or owner access. Complements add_role_assignment and delete_role_assignment.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `site_id` (`string`, required): ID of the SharePoint site whose permissions to list. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.

Example input: `{"site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_list_site_members`

List SharePoint Site Members · Read-only

List all permission entries (members) for a SharePoint site. Returns users and groups with their assigned roles. Supports OData pagination and expansion of related identity resources.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `site_id` (`string`, required): ID of the SharePoint site whose members (permissions) to retrieve. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.
- `expand` (`string`, optional): Comma-separated list of related resources to expand. Example: 'grantedToIdentities' to include the full identity objects for each permission entry.
- `top` (`integer`, optional): Maximum number of permission entries to return per page. Default is determined by the API.

Example input: `{"site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_list_site_pages`

List SharePoint Site Pages · Read-only

List the modern SharePoint site pages (news posts and pages) in a site's Site Pages library.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `site_id` (`string`, required): ID of the SharePoint site whose pages to list. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.
- `top` (`integer`, optional): Maximum number of pages to return per page of results.

Example input: `{"site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_list_sites`

List SharePoint Sites · Read-only

List SharePoint sites accessible to the signed-in user. Use the search parameter to find sites by name or keyword. Defaults to returning all sites (search=*). Supports OData query options for pagination and field selection.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `search` (`string`, optional): Search keyword to filter sites by name or description. Use '*' to return all accessible sites. Example: 'Marketing' or 'project'. Default: `*`.
- `select` (`string`, optional): Comma-separated list of properties to return for each site. Example: 'id,displayName,webUrl,description'.
- `top` (`integer`, optional): Maximum number of sites to return per page (1-999). Default is determined by the API.

Example input: `{}`

### `microsoft365_sharepoint_list_webhooks`

List SharePoint Webhooks · Read-only

List all active Microsoft Graph change-notification webhook subscriptions owned by the calling app/user, including their resource, expiration time, and notification URL.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `microsoft365_sharepoint_search`

Search SharePoint · Read-only

Search across SharePoint sites, lists, drive items, and list items using the Microsoft Search API. Supports full-text keyword search and KQL (Keyword Query Language). Returns up to 25 results by default.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `query` (`string`, required): The search query string to find matching SharePoint content. Supports keyword search and KQL (Keyword Query Language). Example: 'project plan' or 'site:https://contoso.sharepoint.com/sites/Marketing'.
- `entity_types` (`array`, optional): Array of entity types to search across. Valid values: driveItem, listItem, site, list, drive, externalItem. Default is ['driveItem', 'listItem'].
- `from` (`integer`, optional): Zero-based index of the first result to return, used for pagination. Default is 0 (start from the first result). Default: `0`.
- `size` (`integer`, optional): Number of results to return per page. Default is 25, maximum is 200. Default: `25`.

Example input: `{"query":"project plan"}`

### `microsoft365_teams_get_channel`

Get Teams Channel · Read-only

Retrieve the properties and metadata of a specific channel in a Microsoft Teams team, including its display name, description, membership type, and web URL.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `channel_id` (`string`, required): The unique identifier of the Teams channel to retrieve.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team that contains the channel.

Example input: `{"channel_id":"<channel_id>","team_id":"<team_id>"}`

### `microsoft365_teams_get_channel_message`

Get Teams Channel Message · Read-only

Retrieve a single message from a Microsoft Teams channel by its ID, including body content, sender info, attachments, reactions, and metadata.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `channel_id` (`string`, required): The unique identifier of the Teams channel containing the message.
- `message_id` (`string`, required): The unique identifier of the Teams channel message to retrieve.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team that contains the channel.

Example input: `{"channel_id":"<channel_id>","message_id":"<message_id>","team_id":"<team_id>"}`

### `microsoft365_teams_get_chat`

Get Teams Chat · Read-only

Retrieve the properties of a specific Microsoft Teams chat by ID, including its type, topic, and creation time.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `chat_id` (`string`, required): The unique identifier of the chat.

Example input: `{"chat_id":"<chat_id>"}`

### `microsoft365_teams_get_chat_message`

Get Teams Chat Message · Read-only

Retrieve a single message from a Microsoft Teams chat by its ID, including body content, sender info, attachments, reactions, and metadata.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `chat_id` (`string`, required): The unique identifier of the Teams chat that contains the message.
- `message_id` (`string`, required): The unique identifier of the Teams chat message to retrieve.

Example input: `{"chat_id":"<chat_id>","message_id":"<message_id>"}`

### `microsoft365_teams_get_online_meeting`

Get Teams Online Meeting · Read-only

Retrieve details of a specific Microsoft Teams online meeting by meeting ID. Returns meeting properties including subject, join URL, start/end times, participants, and meeting options.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `meeting_id` (`string`, required): The unique identifier of the online meeting to retrieve. Obtain from the create meeting response or list meetings API.

Example input: `{"meeting_id":"<meeting_id>"}`

### `microsoft365_teams_get_presences_by_user_id`

Get Presences by User ID · Read-only

Get the presence information (available, busy, away, etc.) for multiple users in a single request. More efficient than calling get_user_presence once per user.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `user_ids` (`string`, required): Comma-separated list of Azure AD object IDs of the users whose presence to retrieve.

Example input: `{"user_ids":"<user_ids>"}`

### `microsoft365_teams_get_team`

Get Teams Team · Read-only

Retrieve the properties and relationships of a Microsoft Teams team by its team ID. Returns team details including display name, description, visibility, member settings, and guest settings.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team to retrieve.

Example input: `{"team_id":"<team_id>"}`

### `microsoft365_teams_list_channel_message_replies`

List Teams Channel Message Replies · Read-only

List all replies in a Microsoft Teams channel message thread. Returns replies to the specified parent message with support for pagination.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `channel_id` (`string`, required): The unique identifier of the Teams channel containing the message thread.
- `message_id` (`string`, required): The unique identifier of the parent channel message whose replies to list.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team that contains the channel.
- `skip` (`integer`, optional): Number of replies to skip for pagination. Use with $top to page through results.
- `top` (`integer`, optional): Maximum number of replies to return per page. Use to control page size.

Example input: `{"channel_id":"<channel_id>","message_id":"<message_id>","team_id":"<team_id>"}`

### `microsoft365_teams_list_channel_messages`

List Teams Channel Messages · Read-only

List messages in a Microsoft Teams channel with support for pagination. Returns up to 20 messages by default (max 50 per page).

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `channel_id` (`string`, required): The unique identifier of the Teams channel to list messages from.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team that contains the channel.
- `skip` (`integer`, optional): Number of messages to skip for pagination. Use with $top to page through results.
- `top` (`integer`, optional): Number of channel messages to return per page (1–50, default: 20). Microsoft Graph caps this at 50 for channel messages. Default: `20`.

Example input: `{"channel_id":"<channel_id>","team_id":"<team_id>"}`

### `microsoft365_teams_list_channel_tabs`

List Teams Channel Tabs · Read-only

List all tabs pinned to a Microsoft Teams channel. By default expands the teamsApp relationship to include app details for each tab.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `channel_id` (`string`, required): The unique identifier of the Teams channel whose tabs to list.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team that contains the channel.
- `expand` (`string`, optional): OData $expand expression to include related resources. Defaults to 'teamsApp' which includes the app details for each tab. Set to null to suppress expansion. Default: `teamsApp`.

Example input: `{"channel_id":"<channel_id>","team_id":"<team_id>"}`

### `microsoft365_teams_list_channels`

List Teams Channels · Read-only

List all channels in a Microsoft Teams team. Supports OData filtering (e.g., by membershipType) and field selection to reduce response size.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team whose channels to list.
- `filter` (`string`, optional): OData filter expression to narrow results. Example: "membershipType eq 'standard'" or "displayName eq 'General'".
- `select` (`string`, optional): Comma-separated list of channel properties to return. Example: 'id,displayName,membershipType,webUrl'. Reduces response payload size.

Example input: `{"team_id":"<team_id>"}`

### `microsoft365_teams_list_chat_members`

List Teams Chat Members · Read-only

List the members of a Microsoft Teams chat, including their display names, roles, and user IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `chat_id` (`string`, required): The unique identifier of the chat whose members to list.

Example input: `{"chat_id":"<chat_id>"}`

### `microsoft365_teams_list_chat_messages`

List Teams Chat Messages · Read-only

List messages in a Microsoft Teams chat (1:1, group, or meeting chat) with support for pagination and ordering. Returns up to 50 messages per page ordered by creation time descending by default.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `chat_id` (`string`, required): The unique identifier of the Teams chat to list messages from. Obtain from the list chats API or Teams URL.
- `orderby` (`string`, optional): OData orderby expression for sorting messages. Default is 'createdDateTime desc' (newest first). Example: 'createdDateTime asc' for oldest first. Default: `createdDateTime desc`.
- `top` (`integer`, optional): Number of chat messages to return per page (1–50, default: 50). Microsoft Graph caps this at 50 for chat messages. Default: `50`.

Example input: `{"chat_id":"<chat_id>"}`

### `microsoft365_teams_list_chats`

List Teams Chats · Read-only

List the Microsoft Teams chats (1:1, group, and meeting chats) that the signed-in user is a participant in.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `expand` (`string`, optional): Related resource to expand inline, such as 'members'.
- `filter` (`string`, optional): OData filter expression to narrow the chats returned. Example: "chatType eq 'oneOnOne'".
- `top` (`integer`, optional): Maximum number of chats to return per page.

Example input: `{}`

### `microsoft365_teams_list_online_meeting_attendance_reports`

List Online Meeting Attendance Reports · Read-only

List the attendance reports generated for a Microsoft Teams online meeting. Each report covers one meeting session and can optionally be expanded to include per-attendee attendance records.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `meeting_id` (`string`, required): The unique identifier of the online meeting whose attendance reports to list.
- `expand` (`string`, optional): Related resource to expand inline. Set to 'attendanceRecords' to include each attendee's join/leave times in the response.

Example input: `{"meeting_id":"<meeting_id>"}`

### `microsoft365_teams_list_online_meeting_recordings`

List Online Meeting Recordings · Read-only

List the recordings generated for a Microsoft Teams online meeting. Returns recording metadata; download the recording content separately via its content URL.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `meeting_id` (`string`, required): The unique identifier of the online meeting whose recordings to list.

Example input: `{"meeting_id":"<meeting_id>"}`

### `microsoft365_teams_list_online_meeting_transcripts`

List Online Meeting Transcripts · Read-only

List the transcripts generated for a Microsoft Teams online meeting. Returns transcript metadata; download the transcript content separately via its content URL.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `meeting_id` (`string`, required): The unique identifier of the online meeting whose transcripts to list.

Example input: `{"meeting_id":"<meeting_id>"}`

### `microsoft365_teams_list_shift_swap_requests`

List Teams Shift Swap Requests · Read-only

List shift swap change requests in a Microsoft Teams team schedule. Supports OData $filter (e.g., filter by state) and $top to control the number of results returned.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team whose schedule shift swap requests to list.
- `filter` (`string`, optional): OData filter expression to narrow shift swap request results. Example: "state eq 'pending'" to fetch only pending swap requests.
- `top` (`integer`, optional): Maximum number of shift swap requests to return. Use to limit the response size. Example: 25.

Example input: `{"team_id":"<team_id>"}`

### `microsoft365_teams_list_shifts`

List Teams Shifts · Read-only

List shifts in a Microsoft Teams team schedule. Supports OData $filter (e.g., filter by start date) and $top to control the number of results returned.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team whose schedule shifts to list.
- `filter` (`string`, optional): OData filter expression to narrow shift results. Example: "sharedShift/startDateTime ge 2024-07-01T00:00:00Z" to fetch shifts starting on or after July 1, 2024.
- `top` (`integer`, optional): Maximum number of shifts to return. Use to limit the response size. Example: 25.

Example input: `{"team_id":"<team_id>"}`

### `microsoft365_teams_list_team_members`

List Teams Team Members · Read-only

List all members (including owners) of a Microsoft Teams team. Returns conversationMember resources with membership IDs, user details, and roles. Supports OData filtering and field selection.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team whose members to list.
- `filter` (`string`, optional): OData filter expression to narrow results. Example: "roles/any(r:r eq 'owner')" to list only owners.
- `select` (`string`, optional): Comma-separated list of member properties to return. Example: 'id,displayName,roles,email'. Reduces response payload size.
- `top` (`integer`, optional): Maximum number of members to return per page. Use for pagination.

Example input: `{"team_id":"<team_id>"}`

### `microsoft365_teams_list_teams`

List Joined Teams · Read-only

List all Microsoft Teams teams that the signed-in user has joined. Supports OData query options for filtering, field selection, and pagination.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `filter` (`string`, optional): OData filter expression to narrow results. Example: "displayName eq 'Engineering'".
- `select` (`string`, optional): Comma-separated list of team properties to return. Example: 'id,displayName,description,visibility'. Reduces response payload size.
- `top` (`integer`, optional): Maximum number of teams to return per page. Use for pagination.

Example input: `{}`

### `microsoft365_teams_list_time_off_requests`

List Teams Time Off Requests · Read-only

List time-off requests in a Microsoft Teams team schedule. Supports OData $filter (e.g., filter by status or date range) and $top to control the number of results returned.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team whose schedule time-off requests to list.
- `filter` (`string`, optional): OData filter expression to narrow time-off request results. Example: "state eq 'pending'" to fetch only pending requests.
- `top` (`integer`, optional): Maximum number of time-off requests to return. Use to limit the response size. Example: 25.

Example input: `{"team_id":"<team_id>"}`

### `microsoft365_teams_search_messages`

Search Teams Messages · Read-only

Search Microsoft Teams chat messages across all chats and channels accessible to the signed-in user using the Microsoft Search API. Supports pagination via from/size parameters. Returns up to 25 results by default.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `query` (`string`, required): The search query string to find matching Teams messages. Supports keyword search and KQL (Keyword Query Language). Example: 'project kickoff' or 'from:alice@example.com subject:budget'.
- `from` (`integer`, optional): Zero-based index of the first result to return, used for pagination. Default is 0 (start from the first result). Default: `0`.
- `size` (`integer`, optional): Number of results to return per page. Default is 25, maximum is 200. Default: `25`.

Example input: `{"query":"project kickoff"}`

### `microsoft365_excel_add_table_column`

Add Excel Table Column · Write

Add a new column to an existing Excel table in OneDrive. Optionally specify the column name, its zero-based insertion index (null = append at end), and initial cell values as a 2D array (first row is the header). Returns the created column object.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `table_id` (`string`, required): Name or ID of the table to add the column to. Example: 'Table1' or the GUID assigned by Excel.
- `index` (`integer`, optional): Zero-based index position at which to insert the column. Null or omitted means append the column at the right end of the table. Example: 0 inserts as the first column.
- `name` (`string`, optional): Display name for the new column header. If omitted, Excel auto-generates a name (e.g., 'Column1'). Example: 'Revenue'.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.
- `values` (`array`, optional): 2D array of initial cell values for the column, including the header row in the first element. Example: [["Header"],["row1val"],["row2val"]]. Each inner array is one row. If omitted, the column is created empty.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","table_id":"Table1"}`

### `microsoft365_excel_add_table_row`

Add Excel Table Row · Write

Add a new row to an Excel table in a workbook stored in OneDrive. Provide a 2D array of values (one inner array per row to insert). Optionally specify an index to insert the row at a specific position; omit index to append to the end of the table.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `table_id` (`string`, required): Table name or numeric ID to add a row to. Example: 'Table1' or '1'.
- `values` (`array`, required): 2D array of values to insert as a new row. Each inner array represents one row; each element is a cell value (string, number, boolean, or null). The number of elements in each inner array must match the table's column count. Example: [["Alice", 95, true]] inserts one row with three cells.
- `index` (`integer`, optional): Zero-based index at which to insert the row. If null or omitted, the row is appended to the end of the table. Example: 0 inserts at the top of the table.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","table_id":"Table1","values":["Active","Pending"]}`

### `microsoft365_excel_calculate_workbook`

Calculate Excel Workbook · Write

Force Excel to recalculate all formulas in a workbook. Useful after updating cell values or ranges via the API, since automation-driven writes do not always trigger a recalculation on their own.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file.
- `calculation_type` (`string`, optional): The type of recalculation to perform. 'Recalculate' recalculates cells that depend on changed cells, 'Full' recalculates everything, 'FullRebuild' also rebuilds the dependency chain. Defaults to 'Recalculate'. One of: `Recalculate`, `Full`, `FullRebuild`. Default: `Recalculate`.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_excel_clear_range`

Clear Excel Range · Write

Clear the contents, formats, or both from a cell range in an Excel worksheet stored in OneDrive. Use apply_to to control what is cleared: 'All' clears both content and formatting, 'Contents' clears only values and formulas, 'Formats' clears only cell formatting.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `address` (`string`, required): Cell range address in Excel notation to clear. Examples: 'A1:C10' to clear a multi-cell range, 'B2' to clear a single cell.
- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `worksheet_id` (`string`, required): Worksheet name or GUID containing the range to clear. Example: 'Sheet1'.
- `apply_to` (`string`, optional): What to clear from the range. Valid values: 'All' (clears both content and formatting, default), 'Contents' (clears only values and formulas), 'Formats' (clears only cell formatting). One of: `All`, `Contents`, `Formats`. Default: `All`.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"address":"A1:D10","item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","worksheet_id":"Sheet1"}`

### `microsoft365_excel_close_session`

Close Excel Workbook Session · Write

Close an active workbook session for an Excel file in OneDrive. Releases server-side resources associated with the session. Pass the session ID returned by the createSession call as session_id.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file whose session should be closed. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `session_id` (`string`, required): Workbook session ID returned by the createSession call. Sent as the workbook-session-id request header to identify which session to close. Example: 'cluster=SN2&session=...'.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","session_id":"cluster=SN2&session=..."}`

### `microsoft365_excel_create_chart`

Create Excel Chart · Write

Create a new chart in an Excel worksheet stored in OneDrive. Specify the chart type (e.g., ColumnClustered, Line, Pie), the source data range address (e.g., 'A1:B10'), and optionally how series are arranged (Auto, Columns, Rows). Returns the created chart object including its ID.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `source_data` (`string`, required): Cell range address providing the chart source data in Excel notation. Example: 'A1:B10' uses columns A and B, rows 1–10 as the chart data.
- `worksheet_id` (`string`, required): Worksheet name or GUID in which to create the chart. Example: 'Sheet1'.
- `chart_type` (`string`, optional): Type of chart to create. Valid values: ColumnClustered, ColumnStacked, ColumnStacked100, BarClustered, BarStacked, BarStacked100, Line, LineStacked, LineMarkers, Pie, Doughnut, Scatter, Area, Radar, XYScatter. Default is 'ColumnClustered'. One of: `ColumnClustered`, `ColumnStacked`, `ColumnStacked100`, `BarClustered`, `BarStacked`, `BarStacked100`, `Line`, `LineStacked`, `LineMarkers`, `Pie`, `Doughnut`, `Scatter`, `XYScatter`, `Area`, `AreaStacked`, `Radar`. Default: `ColumnClustered`.
- `series_by` (`string`, optional): How data series are determined from the source range. Valid values: 'Auto' (Excel decides), 'Columns' (each column is a series), 'Rows' (each row is a series). Default is 'Auto'. One of: `Auto`, `Columns`, `Rows`. Default: `Auto`.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","source_data":"A1:B10","worksheet_id":"Sheet1"}`

### `microsoft365_excel_create_session`

Create Excel Workbook Session · Write

Create a workbook session for an Excel file in OneDrive. Returns a session ID that can be passed as the workbook-session-id header in subsequent Excel API calls to maintain state and improve performance. Requires the OneDrive item ID of the .xlsx file.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file to open a session for. Obtain this from the OneDrive file listing or drive item API. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `persist_changes` (`boolean`, optional): Whether to persist changes made during the session to the workbook. Set to true (default) to save changes; set to false for a read-only transient session that does not commit edits. Default: `true`.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_excel_create_table`

Create Excel Table · Write

Create a new Excel table from a cell range in a worksheet stored in OneDrive. Specify the address of the range (e.g., 'A1:D10') and whether the first row contains headers. Returns the created table object including its assigned ID and name.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `address` (`string`, required): Cell range address for the new table in Excel notation. Example: 'A1:D10' creates a table spanning columns A–D and rows 1–10.
- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `worksheet_id` (`string`, required): Worksheet name or GUID in which to create the table. Example: 'Sheet1'.
- `has_headers` (`boolean`, optional): Whether the first row of the range contains column headers. When true (default), the first row becomes the header row of the table. When false, Excel auto-generates header names. Default: `true`.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"address":"A1:D10","item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","worksheet_id":"Sheet1"}`

### `microsoft365_excel_create_worksheet`

Create Excel Worksheet · Write

Add a new worksheet to an Excel workbook stored in OneDrive. Specify the sheet name. Returns the newly created worksheet object including its ID, name, position, and visibility.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file to add the worksheet to. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `name` (`string`, required): Name for the new worksheet tab. Must be unique within the workbook and cannot exceed 31 characters. Example: 'Q1 Sales'.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","name":"Q1 Sales"}`

### `microsoft365_excel_filter_table`

Filter Excel Table Column · Write

Apply a filter to a column in an Excel table stored in OneDrive. Specify the filter criteria type (e.g., Values, Dynamic, Top, Custom) and the values or criteria to filter by. For 'Values' filtering, provide an array of exact string values to show. The filter is applied in place; no data is returned.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `column_id` (`string`, required): Name or ID of the column within the table on which to apply the filter. Example: 'Status' or the column's integer ID.
- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `table_id` (`string`, required): Name or ID of the table to filter. Example: 'Table1' or the GUID assigned by Excel.
- `values` (`array`, required): Array of string values to filter by when filter_on is 'Values'. Only rows whose cell in this column matches one of these values will be shown. Example: ["Active", "Pending"].
- `filter_on` (`string`, optional): Filter type that determines how the criteria are applied. Valid values: 'Values' (match exact values), 'Custom' (custom expression), 'CellColor' (cell background color), 'FontColor' (cell font color), 'Dynamic' (dynamic filter such as Above Average), 'Top10' (top or bottom N items), 'Icon' (cell icon). Default is 'Values'. One of: `Values`, `Custom`, `CellColor`, `FontColor`, `Dynamic`, `Top10`, `Icon`. Default: `Values`.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"column_id":"Status","item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","table_id":"Table1","values":["Active","Pending"]}`

### `microsoft365_excel_merge_range`

Merge Excel Range · Write

Merge a cell range in an Excel worksheet stored in OneDrive. Specify the range address (e.g., 'A1:C3') and optionally set 'across' to true to merge each row separately rather than merging the entire block into one cell.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `address` (`string`, required): Cell range address in Excel notation to merge. Examples: 'A1:C3' for a 3-column by 3-row block, 'B2:D4' for a rectangular range.
- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `worksheet_id` (`string`, required): Worksheet name or GUID containing the range to merge. Example: 'Sheet1'.
- `across` (`boolean`, optional): When true, merges cells in each row of the range separately (row-by-row merge) instead of merging the entire block into a single cell. Defaults to false. Default: `false`.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"address":"A1:D10","item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","worksheet_id":"Sheet1"}`

### `microsoft365_excel_protect_worksheet`

Protect Excel Worksheet · Write

Apply protection to a worksheet in an Excel workbook stored in OneDrive. You can optionally set a password and configure which actions are allowed while the sheet is protected (e.g., allow formatting cells but prevent deleting rows).

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `worksheet_id` (`string`, required): Worksheet name or GUID to protect. Example: 'Sheet1' or '{00000000-0001-0000-0000-000000000000}'.
- `allow_auto_filter` (`boolean`, optional): Whether to allow AutoFilter operations while the worksheet is protected. Default is false.
- `allow_delete_columns` (`boolean`, optional): Whether to allow deleting columns while the worksheet is protected. Default is false.
- `allow_delete_rows` (`boolean`, optional): Whether to allow deleting rows while the worksheet is protected. Default is false.
- `allow_format_cells` (`boolean`, optional): Whether to allow formatting cells while the worksheet is protected. Default is false.
- `allow_format_columns` (`boolean`, optional): Whether to allow formatting columns while the worksheet is protected. Default is false.
- `allow_format_rows` (`boolean`, optional): Whether to allow formatting rows while the worksheet is protected. Default is false.
- `allow_insert_columns` (`boolean`, optional): Whether to allow inserting columns while the worksheet is protected. Default is false.
- `allow_insert_hyperlinks` (`boolean`, optional): Whether to allow inserting hyperlinks while the worksheet is protected. Default is false.
- `allow_insert_rows` (`boolean`, optional): Whether to allow inserting rows while the worksheet is protected. Default is false.
- `allow_pivot_tables` (`boolean`, optional): Whether to allow PivotTable operations while the worksheet is protected. Default is false.
- `allow_sort` (`boolean`, optional): Whether to allow sorting while the worksheet is protected. Default is false.
- `password` (`string`, optional): Optional password to protect the worksheet. If set, users must enter this password to unprotect the sheet. Example: 'MySecretPass123'.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","worksheet_id":"Sheet1"}`

### `microsoft365_excel_sort_range`

Sort Excel Range · Write

Apply a sort to a cell range in an Excel worksheet stored in OneDrive. Specify one or more sort fields defining which column index to sort by and whether to sort ascending or descending. Optionally control case sensitivity and whether the range has a header row.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `address` (`string`, required): Cell range address in Excel notation to sort. Example: 'A1:D20' to sort a 4-column, 20-row range.
- `fields` (`array`, required): Array of sort field objects defining the sort criteria. Each object must have a 'key' (zero-based column index within the range) and optionally 'ascending' (bool, default true) and 'sortOn' (e.g., 'Value', 'CellColor', 'FontColor', 'Icon'). Example: [{"key": 0, "ascending": true, "sortOn": "Value"}].
- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `worksheet_id` (`string`, required): Worksheet name or GUID containing the range to sort. Example: 'Sheet1'.
- `has_headers` (`boolean`, optional): Whether the range has a header row that should not be sorted. Default is true — the first row is treated as a header and excluded from sorting. Default: `true`.
- `match_case` (`boolean`, optional): Whether the sort is case-sensitive. Default is false (case-insensitive). Default: `false`.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"address":"A1:D20","fields":[{"key":0,"ascending":true,"sortOn":"Value"}],"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","worksheet_id":"Sheet1"}`

### `microsoft365_excel_sort_table`

Sort Excel Table · Write

Apply a sort to an Excel table stored in OneDrive. Provide one or more sort field objects specifying the zero-based column key within the table, sort direction (ascending/descending), and sort basis (Value, CellColor, FontColor, Icon). Optionally control case sensitivity. The sort is applied in place; no data is returned.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `fields` (`array`, required): Array of sort field objects defining the sort criteria. Each object must include 'key' (zero-based column index within the table). Optionally include 'ascending' (bool, default true) and 'sortOn' (e.g., 'Value', 'CellColor', 'FontColor', 'Icon'). Example: [{"key": 0, "ascending": true, "sortOn": "Value"}].
- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `table_id` (`string`, required): Name or ID of the table to sort. Example: 'Table1' or the GUID assigned by Excel.
- `match_case` (`boolean`, optional): Whether the sort is case-sensitive. Default is false (case-insensitive). Example: set to true to distinguish 'Apple' from 'apple'. Default: `false`.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"fields":[{"key":0,"ascending":true,"sortOn":"Value"}],"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","table_id":"Table1"}`

### `microsoft365_excel_unmerge_range`

Unmerge Excel Range · Write

Unmerge a previously merged cell range in an Excel worksheet stored in OneDrive. Specify the range address to split any merged cells back into individual cells.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `address` (`string`, required): Cell range address in Excel notation to unmerge. Example: 'A1:C3' to unmerge a block that was previously merged.
- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `worksheet_id` (`string`, required): Worksheet name or GUID containing the range to unmerge. Example: 'Sheet1'.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"address":"A1:C3","item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","worksheet_id":"Sheet1"}`

### `microsoft365_excel_update_chart`

Update Excel Chart · Write

Update properties of an existing chart in an Excel worksheet stored in OneDrive. You can update the chart title text, dimensions (height, width in points), and position (left, top offsets in points). Only fields provided will be updated. Returns the updated chart object.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `chart_id` (`string`, required): Name or ID of the chart to update. Example: 'Chart 1' or the GUID assigned by Excel.
- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `worksheet_id` (`string`, required): Worksheet name or GUID containing the chart. Example: 'Sheet1'.
- `height` (`integer`, optional): Height of the chart in points. Example: 300 sets the chart height to 300 points.
- `left` (`integer`, optional): Left offset of the chart from the worksheet origin in points. Example: 0 positions the chart at the left edge.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.
- `title` (`string`, optional): New text for the chart title. Example: 'Monthly Revenue'. This wraps to the Graph API shape {"title":{"text":"..."}}.
- `top` (`integer`, optional): Top offset of the chart from the worksheet origin in points. Example: 0 positions the chart at the top edge.
- `width` (`integer`, optional): Width of the chart in points. Example: 400 sets the chart width to 400 points.

Example input: `{"chart_id":"Chart 1","item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","worksheet_id":"Sheet1"}`

### `microsoft365_excel_update_range`

Update Excel Range · Write

Write values, formulas, or number formats to a cell range in an Excel worksheet stored in OneDrive. Provide a 2D array of values matching the dimensions of the target range. Optionally set formulas and number formats for cells.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `address` (`string`, required): Cell range address in Excel notation to update. Must match the dimensions of the values array. Examples: 'A1:C2' for a 2-row by 3-column range, 'B5' for a single cell.
- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `values` (`array`, required): 2D array of cell values to write. Each inner array represents a row; each element is a cell value (string, number, boolean, or null). Example: [["Name", "Score"], ["Alice", 95], ["Bob", 87]].
- `worksheet_id` (`string`, required): Worksheet name or GUID containing the range to update. Example: 'Sheet1'.
- `formulas` (`array`, optional): 2D array of formula strings to write. Each inner array represents a row; each element is a cell formula string (e.g., '=SUM(A1:A5)') or null to leave blank. Must match the dimensions of the address range.
- `number_format` (`array`, optional): 2D array of number format strings to apply. Each element is an Excel number format code (e.g., 'mm/dd/yyyy', '0.00', '@' for text). Must match the dimensions of the address range.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"address":"A1:D10","item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","values":["Active","Pending"],"worksheet_id":"Sheet1"}`

### `microsoft365_excel_update_table`

Update Excel Table · Write

Update the properties of an existing Excel table in a workbook stored in OneDrive. Supports renaming the table, toggling header and total rows, and changing the table style.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `table_id` (`string`, required): Table name or numeric ID to update. Example: 'Table1' or '1'.
- `name` (`string`, optional): New name for the table. Must be unique within the workbook. Example: 'SalesData'. Only alphanumeric characters and underscores; must not start with a number.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.
- `show_headers` (`boolean`, optional): Whether to show the header row of the table. Set to true to display column headers, false to hide them.
- `show_totals` (`boolean`, optional): Whether to show the totals row at the bottom of the table. Set to true to display the totals row, false to hide it.
- `style` (`string`, optional): Table style name to apply. Valid values follow the Excel table style naming convention, e.g., 'TableStyleLight1', 'TableStyleMedium2', 'TableStyleDark3'. See Excel table styles for available options.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","table_id":"Table1"}`

### `microsoft365_excel_update_worksheet`

Update Excel Worksheet · Write

Update properties of an existing worksheet in an Excel workbook stored in OneDrive. You can rename the sheet, change its tab position, or change its visibility. At least one of name, position, or visibility must be provided.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `worksheet_id` (`string`, required): Worksheet name or GUID to update. Example: 'Sheet1' or '{00000000-0001-0000-0000-000000000000}'.
- `name` (`string`, optional): New name for the worksheet tab. Must be unique within the workbook and no longer than 31 characters. Example: 'Q2 Sales'.
- `position` (`integer`, optional): Zero-based index position of the worksheet among other sheets. Example: 0 makes it the first sheet.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.
- `visibility` (`string`, optional): Visibility of the worksheet. Valid values: 'Visible' (shown), 'Hidden' (hidden but can be unhidden by user), 'VeryHidden' (hidden and cannot be unhidden from the UI). One of: `Visible`, `Hidden`, `VeryHidden`.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","worksheet_id":"Sheet1"}`

### `microsoft365_onedrive_checkin_file`

Check In OneDrive File · Write

Check in a checked-out OneDrive file to make the version available to others. Optionally provide a comment describing the changes and specify the check-in type. Requires the file to be checked out first.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): The unique ID of the OneDrive file to check in. The file must currently be checked out. Obtain item IDs from list or get drive item operations.
- `check_in_as` (`string`, optional): The type of check-in to perform. 'published' makes the version visible to all users. 'unspecified' (default) lets the server decide based on document library configuration. One of: `published`, `unspecified`. Default: `unspecified`.
- `comment` (`string`, optional): An optional comment to associate with the checked-in version, describing the changes made. Maximum length varies by library configuration.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_onedrive_checkout_file`

Check Out OneDrive File · Write

Check out a OneDrive file to prevent others from editing it while you make changes. Once checked out, only you can modify the file until it is checked back in or the checkout is discarded.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): The unique ID of the OneDrive file to check out. The file must be in a document library that supports check out. Obtain item IDs from list or get drive item operations.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_onedrive_copy_drive_item`

Copy Drive Item · Write

Copy a OneDrive file or folder to a new location asynchronously. The operation returns HTTP 202 Accepted with a monitor URL; the actual copy completes in the background. Provide the destination folder ID and an optional new name.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): The unique ID of the OneDrive file or folder to copy. Obtain item IDs from list or get drive item operations.
- `new_parent_id` (`string`, required): The item ID of the destination folder for the copy. Use "root" to copy the item to the top level of OneDrive.
- `new_name` (`string`, optional): Optional name for the copied item in the destination. If omitted, the copy retains the original name.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","new_parent_id":"<new_parent_id>"}`

### `microsoft365_onedrive_copy_item_in_drive`

Copy Item in Drive · Write

Copy a file or folder in a specific drive to a new location asynchronously. Works across any drive accessible to the signed-in user, including SharePoint document libraries and Teams drives. Returns HTTP 202 with a monitor URL; the copy completes in the background. To copy an item in the signed-in user's personal OneDrive, use microsoft365_onedrive_copy_drive_item instead.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `drive_id` (`string`, required): The unique ID of the drive containing the item to copy. Obtain drive IDs from microsoft365_onedrive_list_drives or microsoft365_sharepoint_list_drives.
- `item_id` (`string`, required): The unique ID of the file or folder to copy. Obtain item IDs from list or get item operations.
- `new_parent_id` (`string`, required): The item ID of the destination folder for the copy. Use "root" to copy to the top level of the drive.
- `new_name` (`string`, optional): Optional name for the copied item in the destination. If omitted, the copy retains the original name.

Example input: `{"drive_id":"<drive_id>","item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","new_parent_id":"<new_parent_id>"}`

### `microsoft365_onedrive_create_folder`

Create OneDrive Folder · Write

Create a new folder in OneDrive under the specified parent folder. Use "root" as the parent_id to create a top-level folder. Supports conflict behavior control when a folder with the same name already exists.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `name` (`string`, required): The name of the folder to create. Must be a valid folder name without path separators.
- `parent_id` (`string`, required): The ID of the parent folder under which to create the new folder. Use "root" to create a folder at the top level of OneDrive. Obtain folder IDs from list or get drive item operations.
- `conflict_behavior` (`string`, optional): Behavior when a folder with the same name already exists. "fail" returns an error, "replace" overwrites the existing item, "rename" saves the new folder with a different name. Default: rename. One of: `fail`, `replace`, `rename`. Default: `rename`.

Example input: `{"name":"Column1","parent_id":"<parent_id>"}`

### `microsoft365_onedrive_create_sharing_link`

Create Sharing Link · Write

Create a sharing link for a OneDrive file or folder. Supports view-only, edit, and embed link types. The link can optionally be scoped to the organization, password-protected, or set with an expiration date.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): The unique ID of the OneDrive file or folder for which to create a sharing link. Obtain item IDs from list or get drive item operations.
- `type` (`string`, required): Type of sharing link to create. "view" is read-only, "edit" allows modifications, "embed" provides an HTML embed code for web pages. One of: `view`, `edit`, `embed`.
- `expiration_date_time` (`string`, optional): Optional expiration date and time for the sharing link in ISO 8601 format. After this date/time the link will no longer work. Example: "2026-12-31T23:59:00Z".
- `password` (`string`, optional): Optional password to protect the sharing link. Recipients will need to enter this password to access the shared item.
- `scope` (`string`, optional): Scope of the sharing link. "anonymous" allows anyone with the link to access the item. "organization" restricts access to users within the same Microsoft 365 organization. Default: anonymous. One of: `anonymous`, `organization`. Default: `anonymous`.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","type":"view"}`

### `microsoft365_onedrive_create_sharing_link_in_drive`

Create Sharing Link in Drive · Write

Create a sharing link for a file or folder in a specific drive by drive ID. Works across any drive accessible to the signed-in user, including SharePoint document libraries and Teams drives. Supports view-only, edit, and embed link types with optional org scope, password, and expiration. To create a sharing link for an item in the signed-in user's personal OneDrive, use microsoft365_onedrive_create_sharing_link instead.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `drive_id` (`string`, required): The unique ID of the drive containing the item to share. Obtain drive IDs from microsoft365_onedrive_list_drives or microsoft365_sharepoint_list_drives.
- `item_id` (`string`, required): The unique ID of the file or folder for which to create a sharing link. Obtain item IDs from list or get item operations.
- `type` (`string`, required): Type of sharing link to create. "view" is read-only, "edit" allows modifications, "embed" provides an HTML embed code for web pages. One of: `view`, `edit`, `embed`.
- `expiration_date_time` (`string`, optional): Optional expiration date and time for the sharing link in ISO 8601 format. After this date/time the link will no longer work. Example: "2026-12-31T23:59:00Z".
- `password` (`string`, optional): Optional password to protect the sharing link. Recipients will need to enter this password to access the shared item.
- `scope` (`string`, optional): Scope of the sharing link. "anonymous" allows anyone with the link to access the item. "organization" restricts access to users within the same Microsoft 365 organization. Default: anonymous. One of: `anonymous`, `organization`. Default: `anonymous`.

Example input: `{"drive_id":"<drive_id>","item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","type":"view"}`

### `microsoft365_onedrive_discard_checkout`

Discard OneDrive File Checkout · Write

Discard a pending checkout for a OneDrive file, releasing the lock without saving any changes. The file reverts to the state it was in before the checkout. Use this when you want to cancel edits and allow others to edit the file again.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): The unique ID of the OneDrive file whose checkout to discard. The file must currently be checked out by you. Obtain item IDs from list or get drive item operations.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_onedrive_follow_drive_item`

Follow Drive Item · Write

Follow a OneDrive file or folder so it appears in your list of followed items. Following an item allows you to track changes and receive notifications. Returns the updated drive item.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): The unique ID of the OneDrive file or folder to follow. Obtain item IDs from list or get drive item operations.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_onedrive_invite_users`

Invite Users to Drive Item · Write

Send sharing invitations for a OneDrive file or folder to one or more recipients by email address. Assigns the specified roles (read or write) and optionally sends an email notification with a message.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): The unique ID of the OneDrive file or folder to share. Obtain item IDs from list or get drive item operations.
- `recipient_emails` (`array`, required): Array of email addresses of users to invite. Each email will receive an invitation to access the shared item. Example: ["alice@example.com", "bob@example.com"].
- `roles` (`array`, required): Array of permission roles to grant to the invited users. Use "read" for view-only access and "write" for edit access. Example: ["read"].
- `message` (`string`, optional): Optional message to include in the invitation email sent to the recipients.
- `require_sign_in` (`boolean`, optional): Whether the recipient must sign in to access the shared item. Set to false to allow access without signing in. Default: true. Default: `true`.
- `send_invitation` (`boolean`, optional): Whether to send an email invitation to the recipients. Set to false to grant access silently without sending an email. Default: true. Default: `true`.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","recipient_emails":["alice@example.com","bob@example.com"],"roles":["read"]}`

### `microsoft365_onedrive_move_drive_item`

Move Drive Item · Write

Move a OneDrive file or folder to a different parent folder by updating its parentReference. Optionally rename the item during the move. Provide the destination folder's item ID as new_parent_id.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): The unique ID of the OneDrive file or folder to move. Obtain item IDs from list or get drive item operations.
- `new_parent_id` (`string`, required): The item ID of the destination folder. Use "root" to move the item to the top level of OneDrive. Obtain folder IDs from list or get drive item operations.
- `new_name` (`string`, optional): Optional new name to assign to the item during the move. If omitted, the item keeps its current name.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","new_parent_id":"<new_parent_id>"}`

### `microsoft365_onedrive_restore_drive_item`

Restore Drive Item · Write

Restore a deleted OneDrive file or folder from the recycle bin back to its original location or an optionally specified destination. Provide new_parent_id and new_name to restore to a different location or with a different name.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): The unique ID of the deleted OneDrive item to restore. Obtain deleted item IDs from recycle bin list operations.
- `new_name` (`string`, optional): Optional new name to assign to the item when restoring. If omitted, the item is restored with its original name.
- `new_parent_id` (`string`, optional): Optional item ID of the folder to restore the item into. If omitted, the item is restored to its original parent location.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_onedrive_unfollow_drive_item`

Unfollow Drive Item · Write

Stop following a OneDrive file or folder. The item will no longer appear in your list of followed items and you will stop receiving change notifications for it.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): The unique ID of the OneDrive file or folder to unfollow. The item must currently be in your followed items list. Obtain item IDs from list or get drive item operations.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_onedrive_update_drive_item`

Update Drive Item · Write

Update the metadata of a OneDrive file or folder by its item ID. Supports renaming (via name) and updating the description. At least one of name or description should be provided.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): The unique ID of the OneDrive file or folder to update. Obtain item IDs from list or get drive item operations.
- `description` (`string`, optional): New description for the file or folder. Provide a short text description to attach to the item. Optional — can be updated independently from name.
- `name` (`string`, optional): New name for the file or folder. Renaming a file preserves its extension unless explicitly changed. Optional — provide only when renaming.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_onedrive_update_permission`

Update Drive Item Permission · Write

Update the roles assigned to an existing permission on a OneDrive file or folder. Use this to change a user's access level from read to write or vice versa. Requires the item ID and the specific permission ID to update.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): The unique ID of the OneDrive file or folder whose permission to update. Obtain item IDs from list or get drive item operations.
- `permission_id` (`string`, required): The unique ID of the permission to update. Obtain permission IDs from the list permissions operation on the same item.
- `roles` (`array`, required): New array of permission roles to assign. Use "read" for view-only access and "write" for edit access. Example: ["write"].

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","permission_id":"aGVyZUlzVGhlV2F5VGhlUG93ZXJJcw","roles":["write"]}`

### `microsoft365_onedrive_upload_large_file`

Create OneDrive Upload Session · Write

Create a resumable upload session for uploading large files (greater than 4 MB) to OneDrive. Returns an upload URL that the caller uses to upload file bytes in separate PATCH requests. The file is placed under the specified parent folder with the given filename.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `filename` (`string`, required): The name of the file to create or replace in OneDrive, including extension. Example: "report.xlsx".
- `parent_id` (`string`, required): The ID of the parent folder where the file will be uploaded. Use "root" to upload to the top-level OneDrive folder. Obtain folder IDs from list or get drive item operations.
- `conflict_behavior` (`string`, optional): Behavior when a file with the same name already exists. "fail" aborts the upload, "replace" overwrites the existing file, "rename" saves with a new name. Default: replace. One of: `fail`, `replace`, `rename`. Default: `replace`.

Example input: `{"filename":"report.xlsx","parent_id":"<parent_id>"}`

### `microsoft365_onenote_create_notebook`

Create OneNote Notebook · Write

Create a new OneNote notebook for the signed-in user. Notebook names must be unique within the user's OneNote, cannot exceed 128 characters, and cannot contain the characters ?*/:<>|'\". Returns the new notebook object including its id and sectionsUrl. Requires Notes.Create or Notes.ReadWrite scope.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `display_name` (`string`, required): The display name for the new notebook. Must be unique among the user's notebooks, 128 characters or fewer, and cannot contain the characters ?*/:<>|'\".

Example input: `{"display_name":"Work Contacts"}`

### `microsoft365_onenote_create_page`

Create OneNote Page · Write

Create a new OneNote page in the specified section by posting well-formed HTML directly as the request body. Content-Type is text/html — the body must be valid XHTML-compliant markup (properly closed/nested tags), not JSON. Use a <title> element inside <head> to set the page title. This tool only supports plain HTML (including remote image URLs); pages that embed binary image/file data require a multipart/form-data request, which is not supported by this tool. Requires Notes.Create or Notes.ReadWrite scope.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `html_content` (`string`, required): Well-formed XHTML-compliant HTML for the new page, including the <html>, <head>, and <body> elements. Example: "<!DOCTYPE html><html><head><title>Meeting Notes</title></head><body>Agenda items...
</body></html>". Remote image URLs are allowed in <img src="https://...">; embedded binary data is not supported by this tool.
- `section_id` (`string`, required): The unique ID of the section in which to create the new page. Obtain section IDs from microsoft365_onenote_list_sections or microsoft365_onenote_create_section.

Example input: `{"html_content":"<!DOCTYPE html><html><head><title>Meeting Notes</title></head><body><p>Agenda items...</p></body></html>","section_id":"<section_id>"}`

### `microsoft365_onenote_create_section`

Create OneNote Section · Write

Create a new OneNote section inside the specified notebook. Section names must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters ?*/:<>|'%~. Returns the new onenoteSection object including its id and pagesUrl. Requires Notes.Create or Notes.ReadWrite scope.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `display_name` (`string`, required): The display name for the new section. Must be unique among the notebook's other sections, 50 characters or fewer, and cannot contain the characters ?*/:<>|'%~.
- `notebook_id` (`string`, required): The unique ID of the notebook in which to create the new section. Obtain notebook IDs from microsoft365_onenote_list_notebooks or microsoft365_onenote_create_notebook.

Example input: `{"display_name":"Work Contacts","notebook_id":"<notebook_id>"}`

### `microsoft365_outlook_accept_event`

Accept Event · Write

Accept a calendar event invitation.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `event_id` (`string`, required): Event ID.
- `comment` (`string`, optional): Response comment.
- `send_response` (`boolean`, optional): Send response.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"event_id":"AAMkAGI2..."}`

### `microsoft365_outlook_add_event_attachment`

Add Event Attachment · Write

Add a small file attachment (under 3 MB) directly to a calendar event by posting to its attachments collection. Provide the file content as base64-encoded bytes.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `content_bytes` (`string`, required): The base64-encoded content of the file to attach.
- `event_id` (`string`, required): The unique identifier of the event.
- `name` (`string`, required): The name of the attachment file, including its extension.
- `content_type` (`string`, optional): The MIME content type of the attachment. Defaults to application/octet-stream if omitted.

Example input: `{"content_bytes":"<content_bytes>","event_id":"AAMkAGI2...","name":"Column1"}`

### `microsoft365_outlook_add_message_attachment`

Add Message Attachment · Write

Add a file attachment to an existing draft message by posting to its attachments collection. Provide the file content as base64-encoded bytes. Works on draft messages created via create_draft_message or the reply/forward draft actions.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `content_bytes` (`string`, required): The base64-encoded content of the file to attach.
- `message_id` (`string`, required): The unique identifier of the draft message.
- `name` (`string`, required): The name of the attachment file, including its extension.
- `content_type` (`string`, optional): The MIME content type of the attachment. Defaults to application/octet-stream if omitted.

Example input: `{"content_bytes":"<content_bytes>","message_id":"<message_id>","name":"Column1"}`

### `microsoft365_outlook_batch_move_messages`

Batch Move Messages · Write

Move up to 20 Outlook messages to a destination folder in a single Microsoft Graph batch request. Builds a $batch envelope where each subrequest POSTs to /me/messages/{id}/move. Returns a 200 response with per-subrequest status codes inside the responses array.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `destination_folder_id` (`string`, required): The ID or well-known name of the destination folder (e.g., 'inbox', 'deleteditems', 'drafts', or a specific folder ID like 'AAMkAGI2...').
- `message_ids` (`array`, required): Array of message IDs to move (max 20). Each ID is an Outlook message ID string.

Example input: `{"destination_folder_id":"inbox","message_ids":[]}`

### `microsoft365_outlook_batch_update_messages`

Batch Update Messages · Write

Update properties on up to 20 Outlook messages in a single Microsoft Graph batch request. Builds a $batch envelope where each subrequest PATCHes /me/messages/{id} with the provided updates object. Common use: mark messages as read by passing {"isRead": true}. Returns a 200 response with per-subrequest status codes inside the responses array.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `message_ids` (`array`, required): Array of message IDs to update (max 20). Each ID is an Outlook message ID string.
- `updates` (`object`, required): Free-form object of message properties to update on all specified messages. Example: {"isRead": true} to mark as read, or {"isRead": false, "flag": {"flagStatus": "flagged"}} for multiple changes.

Example input: `{"message_ids":[],"updates":{"isRead":true}}`

### `microsoft365_outlook_copy_message`

Copy Message · Write

Copy an email message to another mail folder, leaving the original message in place. Returns the newly created copy.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `destination_id` (`string`, required): The ID or well-known name (e.g. 'inbox', 'archive') of the mail folder to copy the message into.
- `message_id` (`string`, required): The unique identifier of the message to copy.

Example input: `{"destination_id":"inbox","message_id":"<message_id>"}`

### `microsoft365_outlook_create_calendar`

Create Calendar · Write

Create a new named calendar in the user's mailbox (in the default calendar group). Distinct from calendar groups and events — this creates the calendar container itself, e.g. a separate calendar for a project or team.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `name` (`string`, required): The display name for the new calendar.
- `color` (`string`, optional): Color theme to distinguish the calendar in the UI. One of: auto, lightBlue, lightGreen, lightOrange, lightGray, lightYellow, lightTeal, lightPink, lightBrown, lightRed, maxColor. One of: `auto`, `lightBlue`, `lightGreen`, `lightOrange`, `lightGray`, `lightYellow`, `lightTeal`, `lightPink`, `lightBrown`, `lightRed`, `maxColor`.

Example input: `{"name":"Column1"}`

### `microsoft365_outlook_create_calendar_event`

Create Calendar Event · Write

Create a new calendar event in the user's Outlook calendar. Supports attendees, recurrence, reminders, online meetings, multiple locations, and event properties.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `end_datetime` (`string`, required): No description.
- `end_timezone` (`string`, required): No description. Default: `UTC`.
- `start_datetime` (`string`, required): No description.
- `start_timezone` (`string`, required): No description. Default: `UTC`.
- `subject` (`string`, required): No description.
- `attendees_optional` (`string`, optional): Array of email addresses for optional attendees
- `attendees_required` (`string`, optional): Array of email addresses for required attendees
- `attendees_resource` (`string`, optional): Array of email addresses for resources (meeting rooms, equipment)
- `body_content` (`string`, optional): No description.
- `body_contentType` (`string`, optional): No description. One of: `HTML`, `Text`. Default: `HTML`.
- `hideAttendees` (`boolean`, optional): When true, each attendee only sees themselves
- `importance` (`string`, optional): Event importance level. One of: `low`, `normal`, `high`. Default: `normal`.
- `isAllDay` (`boolean`, optional): Mark as all-day event
- `isOnlineMeeting` (`boolean`, optional): Create an online meeting (Teams/Skype)
- `isReminderOn` (`boolean`, optional): Enable or disable reminder. Default: `true`.
- `location` (`string`, optional): No description.
- `locations` (`string`, optional): JSON array of location objects with displayName, address, coordinates
- `onlineMeetingProvider` (`string`, optional): Online meeting provider. One of: `teamsForBusiness`, `skypeForBusiness`, `skypeForConsumer`.
- `recurrence_days_of_week` (`string`, optional): Days of week for weekly recurrence (comma-separated)
- `recurrence_end_date` (`string`, optional): End date for recurrence (YYYY-MM-DD), required if range_type is endDate
- `recurrence_interval` (`integer`, optional): How often the event recurs (e.g., every 2 weeks = 2)
- `recurrence_occurrences` (`integer`, optional): Number of occurrences, required if range_type is numbered
- `recurrence_range_type` (`string`, optional): How the recurrence ends. One of: `endDate`, `noEnd`, `numbered`.
- `recurrence_start_date` (`string`, optional): Start date for recurrence (YYYY-MM-DD)
- `recurrence_type` (`string`, optional): Recurrence pattern type. One of: `daily`, `weekly`, `monthly`, `yearly`.
- `reminderMinutesBeforeStart` (`integer`, optional): Minutes before event start to show reminder. Default: `15`.
- `sensitivity` (`string`, optional): Event sensitivity/privacy level. One of: `normal`, `personal`, `private`, `confidential`. Default: `normal`.
- `showAs` (`string`, optional): Free/busy status. One of: `free`, `tentative`, `busy`, `oof`, `workingElsewhere`. Default: `busy`.

Example input: `{"end_datetime":"<end_datetime>","end_timezone":"UTC","start_datetime":"<start_datetime>","start_timezone":"UTC","subject":"<subject>"}`

### `microsoft365_outlook_create_calendar_group`

Create Calendar Group · Write

Create a new calendar group in the signed-in user's mailbox. Calendar groups organize multiple calendars together in Outlook.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `name` (`string`, required): The name of the new calendar group (e.g., 'Work Calendars'). Must be unique among calendar groups for the user.

Example input: `{"name":"Work Calendars"}`

### `microsoft365_outlook_create_calendar_permission`

Create Calendar Permission · Write

Grant a user access to a specific Outlook calendar by creating a calendar permission entry. Specify the user's email address and the role level (e.g., freeBusyRead, read, write, delegate).

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `calendar_id` (`string`, required): The unique identifier of the calendar to share. Use a specific calendar ID from the list calendars endpoint.
- `email_address` (`string`, required): The email address of the user to grant calendar access to. Example: colleague@example.com
- `role` (`string`, required): The permission role to grant. Valid values: freeBusyRead (see free/busy only), limitedRead (see title and location), read (see all event details), write (create/edit/delete events), delegateWithoutPrivateEventAccess (delegate, no private events), delegateWithPrivateEventAccess (delegate including private events), custom (custom role). One of: `freeBusyRead`, `limitedRead`, `read`, `write`, `delegateWithoutPrivateEventAccess`, `delegateWithPrivateEventAccess`, `custom`.
- `name` (`string`, optional): Display name of the user to grant access to. Optional; the Graph API will resolve it from the email if omitted.

Example input: `{"calendar_id":"<calendar_id>","email_address":"<email_address>","role":"freeBusyRead"}`

### `microsoft365_outlook_create_category`

Create Outlook Category · Write

Create a new Outlook master category for the signed-in user. Categories have a display name and a color preset (none or preset0–preset24). Once created, categories can be applied to messages, events, and contacts.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `display_name` (`string`, required): The display name of the new category. Must be unique among the user's categories.
- `color` (`string`, optional): The color assigned to the category. Use 'none' for no color, or 'preset0' through 'preset24' for a specific color slot. Defaults to preset0. One of: `none`, `preset0`, `preset1`, `preset2`, `preset3`, `preset4`, `preset5`, `preset6`, `preset7`, `preset8`, `preset9`, `preset10`, `preset11`, `preset12`, `preset13`, `preset14`, `preset15`, `preset16`, `preset17`, `preset18`, `preset19`, `preset20`, `preset21`, `preset22`, `preset23`, `preset24`. Default: `preset0`.

Example input: `{"display_name":"Work Contacts"}`

### `microsoft365_outlook_create_contact`

Create Contact · Write

Create a new contact in the user's mailbox with name, email addresses, and phone numbers.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `givenName` (`string`, required): First name of the contact
- `surname` (`string`, required): Last name of the contact
- `businessPhones` (`array`, optional): Array of business phone numbers
- `companyName` (`string`, optional): Company name
- `emailAddresses` (`array`, optional): Array of email address objects with 'address' and optional 'name' fields
- `jobTitle` (`string`, optional): Job title
- `mobilePhone` (`string`, optional): Mobile phone number

Example input: `{"givenName":"<givenName>","surname":"<surname>"}`

### `microsoft365_outlook_create_contact_folder`

Create Contact Folder · Write

Create a new contact folder in the signed-in user's mailbox. Optionally nest it under an existing parent folder by providing a parent folder ID.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `display_name` (`string`, required): The display name for the new contact folder (e.g., 'Work Contacts').
- `parent_folder_id` (`string`, optional): Optional ID of the parent contact folder under which to create this folder. If omitted, the folder is created at the top level.

Example input: `{"display_name":"Work Contacts"}`

### `microsoft365_outlook_create_draft_message`

Create Draft Message · Write

Create a new email draft in the mailbox. Supports setting a follow-up flag.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `bcc_recipients` (`string`, optional): BCC recipients.
- `body` (`string`, optional): Email body content.
- `body_type` (`string`, optional): Body content type.
- `cc_recipients` (`string`, optional): CC recipients.
- `flag_status` (`string`, optional): Follow-up flag status.
- `importance` (`string`, optional): Importance.
- `subject` (`string`, optional): Email subject.
- `to_recipients` (`string`, optional): To recipients.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{}`

### `microsoft365_outlook_create_focused_inbox_override`

Create Focused Inbox Override · Write

Create a Focused Inbox override that classifies all messages from a specific sender into either the Focused or Other inbox. This overrides the automatic machine learning classification for that sender.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `classify_as` (`string`, required): How to classify messages from this sender: 'focused' to route to Focused inbox, 'other' to route to Other inbox. One of: `focused`, `other`.
- `sender_email` (`string`, required): The email address of the sender to create an override for (e.g., 'newsletter@example.com').
- `sender_name` (`string`, optional): Optional display name for the sender (e.g., 'Weekly Newsletter'). Used for display purposes only.

Example input: `{"classify_as":"focused","sender_email":"newsletter@example.com"}`

### `microsoft365_outlook_create_forward_draft`

Create Forward Draft · Write

Create a forward draft for a specific message.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `message_id` (`string`, required): Message ID.
- `comment` (`string`, optional): Forward comment.
- `to_recipients` (`string`, optional): To recipients.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"message_id":"<message_id>"}`

### `microsoft365_outlook_create_mail_folder`

Create Mail Folder · Write

Create a new mail folder in the mailbox.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `display_name` (`string`, required): Folder name.
- `is_hidden` (`boolean`, optional): Hidden folder.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"display_name":"Work Contacts"}`

### `microsoft365_outlook_create_message_rule`

Create Message Rule · Write

Create a new inbox message rule.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `display_name` (`string`, required): Rule name.
- `actions` (`object`, optional): Rule actions.
- `conditions` (`object`, optional): Rule conditions.
- `exceptions` (`object`, optional): Exception conditions for the rule.
- `is_enabled` (`boolean`, optional): Enable rule.
- `sequence` (`integer`, optional): Rule sequence.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"display_name":"Work Contacts"}`

### `microsoft365_outlook_create_reply_all_draft`

Create Reply-All Draft · Write

Create a reply-all draft for a specific message.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `message_id` (`string`, required): Message ID.
- `comment` (`string`, optional): Reply comment.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"message_id":"<message_id>"}`

### `microsoft365_outlook_create_reply_draft`

Create Reply Draft · Write

Create a reply draft for a specific message.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `message_id` (`string`, required): Message ID.
- `comment` (`string`, optional): Reply comment.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"message_id":"<message_id>"}`

### `microsoft365_outlook_create_shared_calendar_event`

Create Shared Calendar Event · Write

Create an event on another user's calendar (shared or delegated access). Targets /users/{id}/events. Requires Calendars.ReadWrite application permission or delegated access granted by the target user.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `end_datetime` (`string`, required): No description.
- `end_timezone` (`string`, required): No description. Default: `UTC`.
- `start_datetime` (`string`, required): No description.
- `start_timezone` (`string`, required): No description. Default: `UTC`.
- `subject` (`string`, required): No description.
- `user_id` (`string`, required): The user ID or userPrincipalName (email) of the target user whose data you are accessing (e.g., colleague@company.com or an object ID). Access must be granted via application permissions or delegated sharing.
- `attendees_optional` (`string`, optional): Array of email addresses for optional attendees
- `attendees_required` (`string`, optional): Array of email addresses for required attendees
- `attendees_resource` (`string`, optional): Array of email addresses for resources (meeting rooms, equipment)
- `body_content` (`string`, optional): No description.
- `body_contentType` (`string`, optional): No description. One of: `HTML`, `Text`. Default: `HTML`.
- `hideAttendees` (`boolean`, optional): When true, each attendee only sees themselves
- `importance` (`string`, optional): Event importance level. One of: `low`, `normal`, `high`. Default: `normal`.
- `isAllDay` (`boolean`, optional): Mark as all-day event
- `isOnlineMeeting` (`boolean`, optional): Create an online meeting (Teams/Skype)
- `isReminderOn` (`boolean`, optional): Enable or disable reminder. Default: `true`.
- `location` (`string`, optional): No description.
- `locations` (`string`, optional): JSON array of location objects with displayName, address, coordinates
- `onlineMeetingProvider` (`string`, optional): Online meeting provider. One of: `teamsForBusiness`, `skypeForBusiness`, `skypeForConsumer`.
- `recurrence_days_of_week` (`string`, optional): Days of week for weekly recurrence (comma-separated)
- `recurrence_end_date` (`string`, optional): End date for recurrence (YYYY-MM-DD), required if range_type is endDate
- `recurrence_interval` (`integer`, optional): How often the event recurs (e.g., every 2 weeks = 2)
- `recurrence_occurrences` (`integer`, optional): Number of occurrences, required if range_type is numbered
- `recurrence_range_type` (`string`, optional): How the recurrence ends. One of: `endDate`, `noEnd`, `numbered`.
- `recurrence_start_date` (`string`, optional): Start date for recurrence (YYYY-MM-DD)
- `recurrence_type` (`string`, optional): Recurrence pattern type. One of: `daily`, `weekly`, `monthly`, `yearly`.
- `reminderMinutesBeforeStart` (`integer`, optional): Minutes before event start to show reminder. Default: `15`.
- `sensitivity` (`string`, optional): Event sensitivity/privacy level. One of: `normal`, `personal`, `private`, `confidential`. Default: `normal`.
- `showAs` (`string`, optional): Free/busy status. One of: `free`, `tentative`, `busy`, `oof`, `workingElsewhere`. Default: `busy`.

Example input: `{"end_datetime":"<end_datetime>","end_timezone":"UTC","start_datetime":"<start_datetime>","start_timezone":"UTC","subject":"<subject>","user_id":"aaaabbbb-1234-5678-abcd-ef0123456789"}`

### `microsoft365_outlook_create_upload_session`

Create Attachment Upload Session · Write

Create an upload session for attaching a large file to an Outlook message using Microsoft Graph. Returns an uploadUrl and expiration time. Use the uploadUrl to upload file content in chunks via PUT requests. Required for attachments larger than 3 MB.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `attachment_name` (`string`, required): The filename of the attachment (e.g., 'report.pdf'). Must include the file extension.
- `attachment_size` (`integer`, required): The total size of the attachment in bytes. Must be the exact file size before uploading.
- `message_id` (`string`, required): The ID of the draft Outlook message to attach the file to.

Example input: `{"attachment_name":"report.pdf","attachment_size":1,"message_id":"<message_id>"}`

### `microsoft365_outlook_decline_event`

Decline Event · Write

Decline a calendar event invitation.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `event_id` (`string`, required): Event ID.
- `comment` (`string`, optional): Response comment.
- `proposed_new_time` (`object`, optional): Proposed new meeting time.
- `send_response` (`boolean`, optional): Send response.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"event_id":"AAMkAGI2..."}`

### `microsoft365_outlook_forward_event`

Forward Event · Write

Forward a calendar event to other people.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `comment` (`string`, required): Forward comment.
- `event_id` (`string`, required): Event ID.
- `to_recipients` (`string`, required): To recipients.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"comment":"<comment>","event_id":"AAMkAGI2...","to_recipients":"<to_recipients>"}`

### `microsoft365_outlook_forward_message`

Forward Message · Write

Forward an existing email message directly to new recipients. The message is sent immediately and a copy is saved in Sent Items. Use create_forward_draft instead if you need to edit the forwarded message before sending.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `message_id` (`string`, required): The unique identifier of the message to forward.
- `to_recipients` (`string`, required): Comma-separated list of email addresses to forward the message to.
- `comment` (`string`, optional): Optional comment to include with the forwarded message.

Example input: `{"message_id":"<message_id>","to_recipients":"<to_recipients>"}`

### `microsoft365_outlook_mailbox_settings_update`

Update Mailbox Settings · Write

Update mailbox settings for the signed-in user. Supports configuring automatic replies (out-of-office), language, timezone, working hours, date/time format, and delegate meeting message delivery preferences. Only fields provided will be updated.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `automaticRepliesSetting` (`object`, optional): Configuration for automatic replies (out-of-office). Set status, internal/external reply messages, and optional scheduled time window.
- `dateFormat` (`string`, optional): Preferred date format string for the mailbox (e.g., 'MM/dd/yyyy', 'dd/MM/yyyy', 'yyyy-MM-dd').
- `delegateMeetingMessageDeliveryOptions` (`string`, optional): Controls how meeting messages are delivered when a delegate is configured. One of: `sendToDelegateAndInformationToPrincipal`, `sendToDelegateAndPrincipal`, `sendToDelegateOnly`.
- `language` (`object`, optional): Language and locale for the mailbox. Object with locale (e.g., 'en-US') and displayName.
- `timeFormat` (`string`, optional): Preferred time format string for the mailbox (e.g., 'hh:mm tt' for 12-hour, 'HH:mm' for 24-hour).
- `timeZone` (`string`, optional): Preferred time zone for the mailbox (e.g., 'UTC', 'Pacific Standard Time', 'Eastern Standard Time').
- `workingHours` (`object`, optional): Working hours configuration including days of week, start/end times, and time zone.

Example input: `{}`

### `microsoft365_outlook_move_message`

Move Message · Write

Move a message to a different mail folder.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `destination_id` (`string`, required): Destination folder ID.
- `message_id` (`string`, required): Message ID.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"destination_id":"inbox","message_id":"<message_id>"}`

### `microsoft365_outlook_move_shared_mailbox_message`

Move Shared Mailbox Message · Write

Move a message in a shared mailbox to a different mail folder. Requires the caller to have read/write access to the shared mailbox.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `destination_folder_id` (`string`, required): The ID or well-known name of the destination mail folder to move the message into (e.g., inbox, drafts, sentitems, deleteditems, junkemail, or a folder ID).
- `message_id` (`string`, required): The unique identifier of the message to move within the shared mailbox.
- `shared_mailbox_id` (`string`, required): The email address or user object ID of the shared mailbox containing the message (e.g., support@company.com or a GUID). The caller must have read/write permissions on this mailbox.

Example input: `{"destination_folder_id":"inbox","message_id":"<message_id>","shared_mailbox_id":"<shared_mailbox_id>"}`

### `microsoft365_outlook_reply_all_to_message`

Reply All to Message · Write

Reply immediately to all recipients of a message (sender, To, and Cc). The reply is sent right away and saved in Sent Items. Use create_reply_all_draft instead if you need to edit the reply before sending.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `message_id` (`string`, required): The unique identifier of the message to reply to.
- `comment` (`string`, optional): The reply message content.

Example input: `{"message_id":"<message_id>"}`

### `microsoft365_outlook_reply_from_shared_mailbox`

Reply from Shared Mailbox · Write

Reply to an existing email message on behalf of a shared mailbox. The reply is automatically sent to the original sender and saved in the shared mailbox's Sent Items folder. Requires send-as or send-on-behalf permissions on the shared mailbox.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `comment` (`string`, required): The reply message text content. This will be included as the comment/body of the reply email sent from the shared mailbox.
- `message_id` (`string`, required): The unique identifier of the message in the shared mailbox to reply to. Retrieve from list or search shared mailbox messages.
- `shared_mailbox_id` (`string`, required): The email address or user ID of the shared mailbox to reply from (e.g., support@company.com or a user object ID). The caller must have send-as or send-on-behalf permissions.

Example input: `{"comment":"<comment>","message_id":"<message_id>","shared_mailbox_id":"<shared_mailbox_id>"}`

### `microsoft365_outlook_reply_to_message`

Reply to Message · Write

Reply to an existing email message. The reply is automatically sent to the original sender and saved in the Sent Items folder.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `comment` (`string`, required): Reply message content
- `messageId` (`string`, required): The unique identifier of the message to reply to

Example input: `{"comment":"<comment>","messageId":"<messageId>"}`

### `microsoft365_outlook_send_draft_message`

Send Draft Message · Write

Send a previously created draft message (from create_draft_message, create_reply_draft, create_reply_all_draft, or create_forward_draft). The message is sent as-is and saved in Sent Items.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `message_id` (`string`, required): The unique identifier of the draft message to send.

Example input: `{"message_id":"<message_id>"}`

### `microsoft365_outlook_send_message`

Send Email · Write

Send an email message using Microsoft Graph API. The message is saved in the Sent Items folder by default.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `body` (`string`, required): Body content of the email
- `subject` (`string`, required): Subject line of the email
- `toRecipients` (`array`, required): Array of email addresses to send to
- `bccRecipients` (`array`, optional): Array of email addresses to BCC
- `bodyType` (`string`, optional): Content type of the body (Text or HTML)
- `ccRecipients` (`array`, optional): Array of email addresses to CC
- `saveToSentItems` (`boolean`, optional): Save the message in Sent Items folder (default: true)

Example input: `{"body":"<body>","subject":"<subject>","toRecipients":["customer@example.com"]}`

### `microsoft365_outlook_send_message_from_shared_mailbox`

Send Email from Shared Mailbox · Write

Send an email message on behalf of a shared mailbox using Microsoft Graph API. The message is saved in the shared mailbox's Sent Items folder by default. Requires the caller to have send-as or send-on-behalf-of permissions on the shared mailbox.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `body` (`string`, required): Body content of the email. Provide plain text or HTML depending on the bodyType field.
- `shared_mailbox_id` (`string`, required): The email address or user ID of the shared mailbox to send from (e.g., support@company.com or a user object ID). The caller must have send-as or send-on-behalf permissions.
- `subject` (`string`, required): Subject line of the email to send from the shared mailbox.
- `toRecipients` (`array`, required): Array of email addresses to send the email to from the shared mailbox. Example: ["customer@example.com"]
- `bccRecipients` (`array`, optional): Array of email addresses to BCC on the outgoing message from the shared mailbox.
- `bodyType` (`string`, optional): Content type of the email body. Use 'Text' for plain text or 'HTML' for rich HTML content. Defaults to 'Text' if omitted.
- `ccRecipients` (`array`, optional): Array of email addresses to CC on the outgoing message from the shared mailbox.
- `saveToSentItems` (`boolean`, optional): Whether to save the sent message in the shared mailbox's Sent Items folder. Defaults to true.

Example input: `{"body":"<body>","shared_mailbox_id":"<shared_mailbox_id>","subject":"<subject>","toRecipients":["customer@example.com"]}`

### `microsoft365_outlook_tentatively_accept_event`

Tentatively Accept Event · Write

Tentatively accept a calendar event invitation.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `event_id` (`string`, required): Event ID.
- `comment` (`string`, optional): Response comment.
- `proposed_new_time` (`object`, optional): Proposed new meeting time.
- `send_response` (`boolean`, optional): Send response.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"event_id":"AAMkAGI2..."}`

### `microsoft365_outlook_todo_checklist_items_create`

Create Checklist Item · Write

Add a checklist item (subtask) to a specific task in a Microsoft To Do task list.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `display_name` (`string`, required): The display name of the checklist item.
- `list_id` (`string`, required): The ID of the task list.
- `task_id` (`string`, required): The ID of the task to add the checklist item to.
- `is_checked` (`boolean`, optional): Whether the checklist item is already checked/completed. Default: `false`.

Example input: `{"display_name":"Work Contacts","list_id":"<list_id>","task_id":"<task_id>"}`

### `microsoft365_outlook_todo_checklist_items_update`

Update Checklist Item · Write

Update a checklist item (subtask) in a Microsoft To Do task. Only provided fields are changed.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `checklist_item_id` (`string`, required): The ID of the checklist item to update.
- `list_id` (`string`, required): The ID of the task list.
- `task_id` (`string`, required): The ID of the task.
- `display_name` (`string`, optional): New display name for the checklist item.
- `is_checked` (`boolean`, optional): Whether the checklist item is checked/completed.

Example input: `{"checklist_item_id":"<checklist_item_id>","list_id":"<list_id>","task_id":"<task_id>"}`

### `microsoft365_outlook_todo_lists_create`

Create To Do List · Write

Create a new Microsoft To Do task list.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `display_name` (`string`, required): The name of the task list.

Example input: `{"display_name":"Work Contacts"}`

### `microsoft365_outlook_todo_lists_update`

Update To Do List · Write

Rename a Microsoft To Do task list.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `display_name` (`string`, required): The new name for the task list.
- `list_id` (`string`, required): The ID of the task list to update.

Example input: `{"display_name":"Work Contacts","list_id":"<list_id>"}`

### `microsoft365_outlook_todo_tasks_create`

Create To Do Task · Write

Create a new task in a Microsoft To Do task list with optional body, due date, importance, and reminder.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `list_id` (`string`, required): The ID of the task list to add the task to.
- `title` (`string`, required): The title of the task.
- `body` (`string`, optional): The body/notes of the task (plain text).
- `categories` (`array`, optional): Array of category names to assign to the task.
- `due_date` (`string`, optional): Due date in YYYY-MM-DD format (e.g. "2026-04-15").
- `due_time_zone` (`string`, optional): Time zone for the due date (e.g. "UTC", "America/New_York"). Defaults to UTC.
- `importance` (`string`, optional): The importance of the task: low, normal, or high. One of: `low`, `normal`, `high`.
- `reminder_date_time` (`string`, optional): Reminder date and time in ISO 8601 format (e.g. "2026-04-15T09:00:00").
- `reminder_time_zone` (`string`, optional): Time zone for the reminder (e.g. "UTC"). Defaults to UTC.
- `status` (`string`, optional): The status of the task: notStarted, inProgress, completed, waitingOnOthers, or deferred. One of: `notStarted`, `inProgress`, `completed`, `waitingOnOthers`, `deferred`.

Example input: `{"list_id":"<list_id>","title":"Monthly Revenue"}`

### `microsoft365_outlook_todo_tasks_update`

Update To Do Task · Write

Update a task in a Microsoft To Do task list. Only provided fields are changed.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `list_id` (`string`, required): The ID of the task list.
- `task_id` (`string`, required): The ID of the task to update.
- `body` (`string`, optional): New body/notes for the task (plain text).
- `categories` (`array`, optional): Array of category names to assign to the task.
- `due_date` (`string`, optional): Due date in YYYY-MM-DD format.
- `due_time_zone` (`string`, optional): Time zone for the due date. Defaults to UTC.
- `importance` (`string`, optional): The importance: low, normal, or high. One of: `low`, `normal`, `high`.
- `status` (`string`, optional): The status: notStarted, inProgress, completed, waitingOnOthers, or deferred. One of: `notStarted`, `inProgress`, `completed`, `waitingOnOthers`, `deferred`.
- `title` (`string`, optional): New title for the task.

Example input: `{"list_id":"<list_id>","task_id":"<task_id>"}`

### `microsoft365_outlook_update_calendar`

Update Calendar · Write

Update the properties of an existing calendar, such as renaming it or changing its display color.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `calendar_id` (`string`, required): The unique identifier of the calendar to update.
- `color` (`string`, optional): New color theme for the calendar. One of: auto, lightBlue, lightGreen, lightOrange, lightGray, lightYellow, lightTeal, lightPink, lightBrown, lightRed, maxColor. One of: `auto`, `lightBlue`, `lightGreen`, `lightOrange`, `lightGray`, `lightYellow`, `lightTeal`, `lightPink`, `lightBrown`, `lightRed`, `maxColor`.
- `name` (`string`, optional): New display name for the calendar.

Example input: `{"calendar_id":"<calendar_id>"}`

### `microsoft365_outlook_update_calendar_event`

Update Calendar Event · Write

Update an existing Outlook calendar event. Only provided fields will be updated. Supports time, attendees, location, reminders, online meetings, recurrence, and event properties.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `event_id` (`string`, required): The ID of the calendar event to update
- `attendees_optional` (`string`, optional): Comma-separated optional attendee emails
- `attendees_required` (`string`, optional): Comma-separated required attendee emails
- `attendees_resource` (`string`, optional): Comma-separated resource emails (meeting rooms, equipment)
- `body_content` (`string`, optional): Event description/body
- `body_contentType` (`string`, optional): Content type of body. One of: `HTML`, `Text`.
- `categories` (`string`, optional): Comma-separated categories
- `end_datetime` (`string`, optional): Event end time in RFC3339 format
- `end_timezone` (`string`, optional): Timezone for end time
- `hideAttendees` (`boolean`, optional): When true, each attendee only sees themselves
- `importance` (`string`, optional): Event importance level. One of: `low`, `normal`, `high`.
- `isAllDay` (`boolean`, optional): Mark as all-day event
- `isOnlineMeeting` (`boolean`, optional): Create an online meeting (Teams/Skype)
- `isReminderOn` (`boolean`, optional): Enable or disable reminder
- `location` (`string`, optional): Physical or virtual location
- `locations` (`string`, optional): JSON array of location objects with displayName, address, coordinates
- `onlineMeetingProvider` (`string`, optional): Online meeting provider. One of: `teamsForBusiness`, `skypeForBusiness`, `skypeForConsumer`.
- `recurrence_days_of_week` (`string`, optional): Days of week for weekly recurrence (comma-separated)
- `recurrence_end_date` (`string`, optional): End date for recurrence (YYYY-MM-DD)
- `recurrence_interval` (`integer`, optional): How often the event recurs (e.g., every 2 weeks = 2)
- `recurrence_occurrences` (`integer`, optional): Number of occurrences
- `recurrence_range_type` (`string`, optional): How the recurrence ends. One of: `endDate`, `noEnd`, `numbered`.
- `recurrence_start_date` (`string`, optional): Start date for recurrence (YYYY-MM-DD)
- `recurrence_type` (`string`, optional): Recurrence pattern type. One of: `daily`, `weekly`, `monthly`, `yearly`.
- `reminderMinutesBeforeStart` (`integer`, optional): Minutes before event start to show reminder
- `sensitivity` (`string`, optional): Event sensitivity/privacy level. One of: `normal`, `personal`, `private`, `confidential`.
- `showAs` (`string`, optional): Free/busy status. One of: `free`, `tentative`, `busy`, `oof`, `workingElsewhere`.
- `start_datetime` (`string`, optional): Event start time in RFC3339 format
- `start_timezone` (`string`, optional): Timezone for start time
- `subject` (`string`, optional): Event title/summary

Example input: `{"event_id":"AAMkAGI2..."}`

### `microsoft365_outlook_update_calendar_group`

Update Calendar Group · Write

Update the name of an existing calendar group in the signed-in user's mailbox.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `group_id` (`string`, required): The unique ID of the calendar group to update (e.g., 'AAMkAGI2...'). Obtain from List Calendar Groups.
- `name` (`string`, required): The new name for the calendar group (e.g., 'Personal Calendars').

Example input: `{"group_id":"AAMkAGI2...","name":"Personal Calendars"}`

### `microsoft365_outlook_update_calendar_permission`

Update Calendar Permission · Write

Update the role of an existing calendar permission entry. Use this to change a user's access level (e.g., upgrade from read to write, or downgrade from delegate to read) on a specific calendar.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `calendar_id` (`string`, required): The unique identifier of the calendar that contains the permission to update.
- `permission_id` (`string`, required): The unique identifier of the calendar permission entry to update. Retrieve from the list calendar permissions endpoint.
- `role` (`string`, required): The new permission role to assign. Valid values: freeBusyRead (see free/busy only), limitedRead (see title and location), read (see all event details), write (create/edit/delete events), delegateWithoutPrivateEventAccess (delegate, no private events), delegateWithPrivateEventAccess (delegate including private events), custom (custom role). One of: `freeBusyRead`, `limitedRead`, `read`, `write`, `delegateWithoutPrivateEventAccess`, `delegateWithPrivateEventAccess`, `custom`.

Example input: `{"calendar_id":"<calendar_id>","permission_id":"aGVyZUlzVGhlV2F5VGhlUG93ZXJJcw","role":"freeBusyRead"}`

### `microsoft365_outlook_update_category`

Update Outlook Category · Write

Update the display name or color of an existing Outlook master category. Provide the category ID and at least one of display_name or color to update.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `category_id` (`string`, required): The unique ID of the Outlook category to update. Retrieve it from the list_categories tool.
- `color` (`string`, optional): New color for the category. Use 'none' for no color, or 'preset0' through 'preset24' for a specific color slot. One of: `none`, `preset0`, `preset1`, `preset2`, `preset3`, `preset4`, `preset5`, `preset6`, `preset7`, `preset8`, `preset9`, `preset10`, `preset11`, `preset12`, `preset13`, `preset14`, `preset15`, `preset16`, `preset17`, `preset18`, `preset19`, `preset20`, `preset21`, `preset22`, `preset23`, `preset24`.
- `display_name` (`string`, optional): New display name for the category. Must be unique among the user's categories if provided.

Example input: `{"category_id":"<category_id>"}`

### `microsoft365_outlook_update_contact`

Update Contact · Write

Update properties of an existing contact.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `contact_id` (`string`, required): Contact ID.
- `company_name` (`string`, optional): Company name.
- `email_addresses` (`string`, optional): Email addresses.
- `given_name` (`string`, optional): First name.
- `job_title` (`string`, optional): Job title.
- `mobile_phone` (`string`, optional): Mobile phone.
- `surname` (`string`, optional): Last name.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"contact_id":"AAMkAGI2..."}`

### `microsoft365_outlook_update_contact_folder`

Update Contact Folder · Write

Update the display name of an existing contact folder in the signed-in user's mailbox.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `display_name` (`string`, required): The new display name for the contact folder (e.g., 'Updated Contacts').
- `folder_id` (`string`, required): The unique ID of the contact folder to update (e.g., 'AAMkAGI2...'). Obtain from List Contact Folders.

Example input: `{"display_name":"Updated Contacts","folder_id":"AAMkAGI2..."}`

### `microsoft365_outlook_update_focused_inbox_override`

Update Focused Inbox Override · Write

Update an existing Focused Inbox override to change how messages from a specific sender are classified. Use this to switch a sender between Focused and Other inbox routing.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `classify_as` (`string`, required): Updated classification for the sender: 'focused' to route to Focused inbox, 'other' to route to Other inbox. One of: `focused`, `other`.
- `override_id` (`string`, required): The unique ID of the Focused Inbox override to update. Retrieve it from the list_focused_inbox_overrides tool.

Example input: `{"classify_as":"focused","override_id":"AAMkAGI2..."}`

### `microsoft365_outlook_update_mail_folder`

Update Mail Folder · Write

Rename or update a mail folder.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `display_name` (`string`, required): New folder name.
- `folder_id` (`string`, required): Folder ID.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"display_name":"Work Contacts","folder_id":"inbox"}`

### `microsoft365_outlook_update_message`

Update Message · Write

Update properties of an email message (e.g. mark as read, set importance, set a follow-up flag).

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `message_id` (`string`, required): Message ID.
- `body` (`string`, optional): Message body content.
- `body_content_type` (`string`, optional): Body content type.
- `categories` (`array`, optional): Categories.
- `flag_status` (`string`, optional): Follow-up flag status.
- `importance` (`string`, optional): Importance.
- `inference_classification` (`string`, optional): Inference classification.
- `is_delivery_receipt_requested` (`boolean`, optional): Delivery receipt requested.
- `is_read` (`boolean`, optional): Mark as read.
- `is_read_receipt_requested` (`boolean`, optional): Read receipt requested.
- `subject` (`string`, optional): Updated subject.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"message_id":"<message_id>"}`

### `microsoft365_outlook_update_message_rule`

Update Message Rule · Write

Update an existing inbox message rule.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `rule_id` (`string`, required): Rule ID.
- `actions` (`object`, optional): Rule actions.
- `conditions` (`object`, optional): Rule conditions.
- `display_name` (`string`, optional): Rule name.
- `exceptions` (`object`, optional): Exception conditions for the rule.
- `is_enabled` (`boolean`, optional): Enable rule.
- `is_read_only` (`boolean`, optional): Mark rule as read-only.
- `sequence` (`integer`, optional): Rule sequence.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"rule_id":"<rule_id>"}`

### `microsoft365_outlook_update_shared_calendar_event`

Update Shared Calendar Event · Write

Update an existing event on another user's calendar (shared or delegated access). Targets /users/{id}/events/{event_id}. Requires Calendars.ReadWrite application permission or delegated access granted by the target user.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `event_id` (`string`, required): The ID of the calendar event to update
- `user_id` (`string`, required): The user ID or userPrincipalName (email) of the target user whose data you are accessing (e.g., colleague@company.com or an object ID). Access must be granted via application permissions or delegated sharing.
- `attendees_optional` (`string`, optional): Comma-separated optional attendee emails
- `attendees_required` (`string`, optional): Comma-separated required attendee emails
- `attendees_resource` (`string`, optional): Comma-separated resource emails (meeting rooms, equipment)
- `body_content` (`string`, optional): Event description/body
- `body_contentType` (`string`, optional): Content type of body. One of: `HTML`, `Text`.
- `categories` (`string`, optional): Comma-separated categories
- `end_datetime` (`string`, optional): Event end time in RFC3339 format
- `end_timezone` (`string`, optional): Timezone for end time
- `hideAttendees` (`boolean`, optional): When true, each attendee only sees themselves
- `importance` (`string`, optional): Event importance level. One of: `low`, `normal`, `high`.
- `isAllDay` (`boolean`, optional): Mark as all-day event
- `isOnlineMeeting` (`boolean`, optional): Create an online meeting (Teams/Skype)
- `isReminderOn` (`boolean`, optional): Enable or disable reminder
- `location` (`string`, optional): Physical or virtual location
- `locations` (`string`, optional): JSON array of location objects with displayName, address, coordinates
- `onlineMeetingProvider` (`string`, optional): Online meeting provider. One of: `teamsForBusiness`, `skypeForBusiness`, `skypeForConsumer`.
- `recurrence_days_of_week` (`string`, optional): Days of week for weekly recurrence (comma-separated)
- `recurrence_end_date` (`string`, optional): End date for recurrence (YYYY-MM-DD)
- `recurrence_interval` (`integer`, optional): How often the event recurs (e.g., every 2 weeks = 2)
- `recurrence_occurrences` (`integer`, optional): Number of occurrences
- `recurrence_range_type` (`string`, optional): How the recurrence ends. One of: `endDate`, `noEnd`, `numbered`.
- `recurrence_start_date` (`string`, optional): Start date for recurrence (YYYY-MM-DD)
- `recurrence_type` (`string`, optional): Recurrence pattern type. One of: `daily`, `weekly`, `monthly`, `yearly`.
- `reminderMinutesBeforeStart` (`integer`, optional): Minutes before event start to show reminder
- `sensitivity` (`string`, optional): Event sensitivity/privacy level. One of: `normal`, `personal`, `private`, `confidential`.
- `showAs` (`string`, optional): Free/busy status. One of: `free`, `tentative`, `busy`, `oof`, `workingElsewhere`.
- `start_datetime` (`string`, optional): Event start time in RFC3339 format
- `start_timezone` (`string`, optional): Timezone for start time
- `subject` (`string`, optional): Event title/summary

Example input: `{"event_id":"AAMkAGI2...","user_id":"aaaabbbb-1234-5678-abcd-ef0123456789"}`

### `microsoft365_powerpoint_create_presentation`

Create PowerPoint Presentation · Write

Create a new PowerPoint presentation (.pptx) in OneDrive by initiating a resumable upload session. Returns an uploadUrl that the caller must use to upload the .pptx file bytes via one or more PUT requests. The presentation is placed under the specified parent folder with the given filename. Requires Files.ReadWrite or Files.ReadWrite.All scope.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `filename` (`string`, required): The base name of the PowerPoint presentation to create, without the .pptx extension. The extension is appended automatically. Example: "Q4 Review" creates "Q4 Review.pptx".
- `parent_id` (`string`, required): The OneDrive item ID of the parent folder where the presentation will be created. Use "root" to create the file at the top level of OneDrive. Obtain folder IDs from list or get drive item operations.
- `conflict_behavior` (`string`, optional): Behavior when a file with the same name already exists in the target folder. "fail" aborts and returns an error, "replace" overwrites the existing file, "rename" saves the new presentation with a different auto-generated name. Default: replace. One of: `fail`, `replace`, `rename`. Default: `replace`.

Example input: `{"filename":"Q4 Review","parent_id":"<parent_id>"}`

### `microsoft365_sharepoint_add_group_member`

Add Member to SharePoint Group · Write

Add an Azure AD user to a Microsoft 365 group (including SharePoint site groups) by providing the group ID and the user's object ID. This uses the Graph API directoryObjects reference endpoint to create the membership link.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `group_id` (`string`, required): The Azure AD object ID of the group to add the member to. Example: '7d8a5b3c-1234-5678-abcd-ef0123456789'.
- `user_id` (`string`, required): The Azure AD object ID of the user to add to the group. Use the find_user_by_email tool to resolve an email to an object ID. Example: 'aaaabbbb-1234-5678-abcd-ef0123456789'.

Example input: `{"group_id":"7d8a5b3c-1234-5678-abcd-ef0123456789","user_id":"aaaabbbb-1234-5678-abcd-ef0123456789"}`

### `microsoft365_sharepoint_add_role_assignment`

Add SharePoint Site Role Assignment · Write

Grant a user or group a role (read, write, or owner) on a SharePoint site by adding a permission entry. Provide either user_id or group_id (not both). The roles array should contain one or more of: 'read', 'write', 'owner'.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `roles` (`array`, required): Array of roles to grant. Valid values are 'read', 'write', and 'owner'. Example: ["write"] grants write (contribute) permission.
- `site_id` (`string`, required): ID of the SharePoint site on which to add the permission. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.
- `group_id` (`string`, optional): Azure AD group object ID to grant the role to. Provide either user_id or group_id — not both. Example: '7d8a5b3c-1234-5678-abcd-ef0123456789'.
- `user_id` (`string`, optional): Azure AD user object ID to grant the role to. Provide either user_id or group_id — not both. Example: 'aaaabbbb-1234-5678-abcd-ef0123456789'.

Example input: `{"roles":["write"],"site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_checkin_file`

Check In SharePoint File · Write

Check in a checked-out file in a SharePoint document library to make the version available to others. Optionally provide a comment describing the changes and specify the check-in type. Requires the file to be checked out first.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): The unique drive item ID of the file to check in. The file must currently be checked out. Obtain item IDs from list drive items or get drive item operations.
- `site_id` (`string`, required): ID of the SharePoint site that contains the file. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.
- `check_in_as` (`string`, optional): The type of check-in to perform. 'published' makes the version visible to all users. 'unspecified' (default) lets the server decide based on document library configuration. One of: `published`, `unspecified`. Default: `unspecified`.
- `comment` (`string`, optional): An optional comment to associate with the checked-in version, describing the changes made.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_checkout_file`

Check Out SharePoint File · Write

Check out a file in a SharePoint document library to prevent others from editing it while you make changes. The file must be checked back in using the check-in operation when editing is complete.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): The unique drive item ID of the file to check out. Obtain item IDs from list drive items or get drive item operations.
- `site_id` (`string`, required): ID of the SharePoint site that contains the file. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_create_list`

Create SharePoint List · Write

Create a new list in a SharePoint site. Specify a display name and optionally a template type (e.g., genericList, documentLibrary, events) and description. Returns the newly created list.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `display_name` (`string`, required): Display name for the new list. Example: 'Project Tasks'.
- `site_id` (`string`, required): ID of the SharePoint site in which to create the list. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.
- `description` (`string`, optional): Optional description for the new list. Example: 'Tracks project tasks and assignments.'
- `template` (`string`, optional): SharePoint list template to use. Valid values: genericList (default), documentLibrary, survey, links, announcements, contacts, events, tasks. One of: `genericList`, `documentLibrary`, `survey`, `links`, `announcements`, `contacts`, `events`, `tasks`. Default: `genericList`.

Example input: `{"display_name":"Project Tasks","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_create_list_field`

Create SharePoint List Field · Write

Add a new column (field) to a SharePoint list. Specify the internal column name, column type (text, number, boolean, dateTime, choice, hyperlinkOrPicture, personOrGroup), and optionally a display name and description. The tool emits the appropriate Microsoft Graph column definition block for the chosen type.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `list_id` (`string`, required): ID of the SharePoint list to which the column will be added. Use the list GUID or display name.
- `name` (`string`, required): Internal name for the new column. Used as the key in item fields objects. Must be unique within the list and contain no spaces (use camelCase or underscores). Example: 'taskStatus'.
- `site_id` (`string`, required): ID of the SharePoint site that contains the list. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.
- `column_type` (`string`, optional): Type of column to create. Determines which Microsoft Graph column configuration block is used. Valid values: text (single or multi-line text), number (numeric values), boolean (yes/no checkbox), dateTime (date and/or time), choice (dropdown or radio from a fixed list), hyperlinkOrPicture (URL or image), personOrGroup (people picker). Default: text. One of: `text`, `number`, `boolean`, `dateTime`, `choice`, `hyperlinkOrPicture`, `personOrGroup`. Default: `text`.
- `description` (`string`, optional): Optional description for the new column. Appears as a tooltip or hint in the SharePoint list UI.
- `display_name` (`string`, optional): Human-readable display name for the column as shown in the SharePoint list UI. If omitted, the internal name is used.

Example input: `{"list_id":"<list_id>","name":"taskStatus","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_create_list_item`

Create SharePoint List Item · Write

Create a new item in a SharePoint list. Provide a 'fields' object whose keys are the internal column names and whose values are the field data. The required 'Title' field sets the item's primary display name.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `fields` (`object`, required): Object containing the field values for the new item. Keys are internal column names (e.g., 'Title', 'Status', 'DueDate'). Example: {"Title": "New Task", "Status": "In Progress"}.
- `list_id` (`string`, required): ID of the SharePoint list in which to create the item. Use the list GUID or display name.
- `site_id` (`string`, required): ID of the SharePoint site that contains the list. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.

Example input: `{"fields":{"Title":"New Task","Status":"In Progress"},"list_id":"<list_id>","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_create_site_page`

Create SharePoint Site Page · Write

Create a new modern SharePoint site page with a title. The page is created as a draft; use publish_site_page to make it visible to site visitors.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `name` (`string`, required): The file name for the new page, including the .aspx extension.
- `site_id` (`string`, required): ID of the SharePoint site to create the page in. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.
- `title` (`string`, required): The display title of the new page.
- `page_layout` (`string`, optional): The layout of the page. 'article' is a standard content page; 'home' designates it as the site's home page. One of: `article`, `home`. Default: `article`.

Example input: `{"name":"Column1","site_id":"contoso.sharepoint.com:/sites/Marketing","title":"Monthly Revenue"}`

### `microsoft365_sharepoint_create_subsite`

Create SharePoint Subsite · Write

Create a new subsite under an existing SharePoint site using the Microsoft Graph beta API. Requires the parent site ID and display name. Optionally specify a description and web template (e.g., 'STS#0' for a team site).

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `display_name` (`string`, required): Display name of the new subsite. Example: 'Marketing Q3 Campaign'.
- `parent_site_id` (`string`, required): ID of the parent SharePoint site under which the subsite will be created. Use a site GUID or 'root' for the tenant root site.
- `description` (`string`, optional): Optional description for the new subsite. Example: 'Site for the Q3 marketing campaign team.'
- `web_template` (`string`, optional): SharePoint web template to use when creating the subsite. Common values: 'STS#0' (Team Site), 'BLOG#0' (Blog Site), 'BDR#0' (Document Center). Defaults to the API default if not specified.

Example input: `{"display_name":"Marketing Q3 Campaign","parent_site_id":"<parent_site_id>"}`

### `microsoft365_sharepoint_follow_document`

Follow SharePoint Document · Write

Follow a SharePoint document or OneDrive file so it appears in the signed-in user's followed documents list. Provide the drive item ID of the document to follow.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): The ID of the drive item (document) to follow. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_sharepoint_publish_site_page`

Publish SharePoint Site Page · Write

Publish a SharePoint site page, making the current version visible to site visitors. The page must have already been created via create_site_page.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `page_id` (`string`, required): The unique identifier of the site page to publish.
- `site_id` (`string`, required): ID of the SharePoint site that contains the page. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.

Example input: `{"page_id":"<page_id>","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_renew_webhook`

Renew SharePoint Webhook · Write

Renew a webhook subscription by extending its expiration time before it lapses. Subscriptions created via subscribe_webhook expire quickly (as soon as 3 days for SharePoint resources) and must be renewed periodically to keep receiving change notifications.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `expiration_date_time` (`string`, required): The new ISO 8601 datetime when the subscription should expire.
- `subscription_id` (`string`, required): The unique identifier of the subscription to renew.
- `notification_url` (`string`, optional): Optional new HTTPS endpoint to receive change notifications. Leave blank to keep the existing URL.

Example input: `{"expiration_date_time":"2026-12-31T23:59:00Z","subscription_id":"abc123de-4567-89ab-cdef-0123456789ab"}`

### `microsoft365_sharepoint_restore_recycled_item`

Restore Recycled SharePoint Item · Write

Restore a previously recycled (soft-deleted) item in a SharePoint document library. Optionally specify a new parent folder and/or new name for the restored item. If neither is provided, the item is restored to its original location.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): The unique drive item ID of the recycled item to restore. Obtain item IDs from list drive items or search recycled items operations.
- `site_id` (`string`, required): ID of the SharePoint site that contains the recycled item. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.
- `new_name` (`string`, optional): Optional new filename to give the restored item. If omitted, the item retains its original name.
- `new_parent_id` (`string`, optional): Optional drive item ID of the parent folder to restore the item into. If omitted, the item is restored to its original parent location.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_subscribe_webhook`

Subscribe to SharePoint Webhook · Write

Create a webhook subscription to receive change notifications for a SharePoint list or site resource. When changes matching the specified change type occur, Graph will POST a notification to your notification URL. Note: the notification URL must be HTTPS and must be pre-approved/allowlisted in the backend. Subscriptions expire within 3 days and must be renewed before expiry.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `expiration_date_time` (`string`, required): The ISO 8601 datetime when the subscription expires. Maximum is 3 days from now for SharePoint resources. Example: '2026-06-20T12:00:00Z'.
- `notification_url` (`string`, required): The HTTPS URL that will receive notifications when changes occur. Must be publicly accessible and pre-approved by the backend. Example: 'https://webhook.example.com/notifications'.
- `resource` (`string`, required): The Graph API resource path to monitor for changes. For SharePoint lists use: 'sites/{site_id}/lists/{list_id}'. For an entire site drive: 'sites/{site_id}/drive/root'. Example: 'sites/contoso.sharepoint.com,abc123,def456/lists/list-guid-here'.
- `change_type` (`string`, optional): The type of change to subscribe to. Valid values: 'created', 'updated', 'deleted', 'all'. Default is 'updated'. One of: `created`, `updated`, `deleted`, `all`. Default: `updated`.
- `client_state` (`string`, optional): Optional secret string included in the notification payload so you can verify it came from Microsoft Graph. Max 128 characters. Example: 'my-secret-key-12345'.

Example input: `{"expiration_date_time":"2026-06-20T12:00:00Z","notification_url":"https://webhook.example.com/notifications","resource":"sites/contoso.sharepoint.com,abc123,def456/lists/list-guid-here"}`

### `microsoft365_sharepoint_unfollow_document`

Unfollow SharePoint Document · Write

Stop following a SharePoint document or OneDrive file. The document will be removed from the signed-in user's followed documents list. Provide the drive item ID of the document to unfollow.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): The ID of the drive item (document) to unfollow. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_sharepoint_update_list`

Update SharePoint List · Write

Update the display name or description of an existing SharePoint list. Provide the site ID, list ID, and at least one of display_name or description to update.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `list_id` (`string`, required): ID or name of the SharePoint list to update. Can be the list GUID or the list's display name.
- `site_id` (`string`, required): ID of the SharePoint site containing the list. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.
- `description` (`string`, optional): New description for the SharePoint list. Example: 'Updated task list for Q3 project.'
- `display_name` (`string`, optional): New display name for the SharePoint list. Example: 'Q3 Project Tasks'.

Example input: `{"list_id":"<list_id>","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_update_list_field`

Update SharePoint List Field · Write

Update the metadata of an existing SharePoint list column (field). Supports updating the display name, description, hidden visibility, and read-only status. Only provided fields are modified.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `column_id` (`string`, required): ID of the column to update. Use the column GUID returned by the list fields endpoint.
- `list_id` (`string`, required): ID of the SharePoint list that contains the column. Use the list GUID or display name.
- `site_id` (`string`, required): ID of the SharePoint site that contains the list. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.
- `description` (`string`, optional): New description for the column. Appears as a tooltip or hint in the SharePoint list UI.
- `display_name` (`string`, optional): New display name for the column as shown in the SharePoint list UI.
- `hidden` (`boolean`, optional): Whether the column should be hidden from the default list view. Set to true to hide or false to show.
- `read_only` (`boolean`, optional): Whether the column should be read-only. Set to true to prevent users from editing the column value.

Example input: `{"column_id":"Status","list_id":"<list_id>","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_update_list_item`

Update SharePoint List Item · Write

Update the field values of an existing SharePoint list item. PATCH the /fields subpath with a flat object of column name-value pairs. Only the fields provided are updated; omitted fields remain unchanged.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `fields` (`object`, required): Object containing the field values to update. Keys are internal column names. Only provided fields are changed. Example: {"Title": "Updated Title", "Status": "Done"}.
- `item_id` (`string`, required): ID of the list item to update. This is the numeric or string identifier of the item within the list.
- `list_id` (`string`, required): ID of the SharePoint list that contains the item. Use the list GUID or display name.
- `site_id` (`string`, required): ID of the SharePoint site that contains the list. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.

Example input: `{"fields":{"Title":"Updated Title","Status":"Done"},"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","list_id":"<list_id>","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_update_site`

Update SharePoint Site · Write

Update the display name or description of an existing SharePoint site. Provide the site ID and at least one of display_name or description to update.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `site_id` (`string`, required): ID of the SharePoint site to update. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.
- `description` (`string`, optional): New description for the SharePoint site. Example: 'Official site for the Marketing department.'
- `display_name` (`string`, optional): New display name for the SharePoint site. Example: 'Marketing Hub 2024'.

Example input: `{"site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_upload_file`

Upload File to SharePoint (Create Upload Session) · Write

Create an upload session for uploading a file to a SharePoint document library. Returns an upload URL that the caller uses to upload the file content in subsequent PUT requests. This session-based approach supports files of any size. Required: site_id, parent_id (use 'root' for the library root folder), and filename.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `filename` (`string`, required): Name of the file to upload including its extension. Example: 'report-Q4.xlsx'. This will be the filename in SharePoint.
- `parent_id` (`string`, required): Drive item ID of the parent folder in the SharePoint document library where the file will be uploaded. Use 'root' to upload to the library root folder, or a folder item ID from a list drive items operation.
- `site_id` (`string`, required): ID of the SharePoint site that contains the document library. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.
- `conflict_behavior` (`string`, optional): Behavior when a file with the same name already exists at the destination. 'fail' returns an error, 'replace' overwrites the existing file, 'rename' creates a new file with an incremented name. One of: `fail`, `replace`, `rename`. Default: `replace`.

Example input: `{"filename":"report-Q4.xlsx","parent_id":"<parent_id>","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_teams_add_chat_member`

Add Teams Chat Member · Write

Add a user to an existing group chat. Cannot be used on one-on-one chats, whose two-person roster is fixed.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `chat_id` (`string`, required): The unique identifier of the group chat to add the member to.
- `user_id` (`string`, required): The Azure AD object ID of the user to add to the chat.
- `is_owner` (`boolean`, optional): Whether the new member should be granted the 'owner' role. Defaults to false (regular member). Default: `false`.

Example input: `{"chat_id":"<chat_id>","user_id":"aaaabbbb-1234-5678-abcd-ef0123456789"}`

### `microsoft365_teams_add_team_member`

Add Teams Team Member · Write

Add a user to a Microsoft Teams team as a member or owner. Requires the team ID and the Azure AD user ID of the person to add. The user must exist in the same tenant. Returns the new conversationMember resource on success (HTTP 201).

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team to add the member to.
- `user_id` (`string`, required): The Azure AD object ID of the user to add to the team. This is the user's unique identifier in Microsoft Entra ID, not their email address.
- `role` (`string`, optional): The role to assign to the added user. Valid values: 'member' (standard member) or 'owner' (team owner with admin privileges). Defaults to 'member'. One of: `member`, `owner`. Default: `member`.

Example input: `{"team_id":"<team_id>","user_id":"aaaabbbb-1234-5678-abcd-ef0123456789"}`

### `microsoft365_teams_approve_shift_swap_request`

Approve Teams Shift Swap Request · Write

Approve a pending shift swap request in a Microsoft Teams team schedule. Requires the team ID and request ID. Optionally include a manager note with the approval.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `request_id` (`string`, required): The unique identifier of the shift swap request to approve.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team whose schedule contains the swap request.
- `message` (`string`, optional): Optional message from the manager to include with the approval decision.

Example input: `{"request_id":"<request_id>","team_id":"<team_id>"}`

### `microsoft365_teams_approve_time_off_request`

Approve Teams Time Off Request · Write

Approve a pending time-off request in a Microsoft Teams team schedule. Requires the team ID and request ID. Optionally include a manager note to send with the approval. Returns HTTP 204 No Content on success.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `request_id` (`string`, required): The unique identifier of the time-off request to approve. Obtain from the list time-off requests API.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team whose schedule contains the time-off request.
- `message` (`string`, optional): Optional message from the manager to include with the approval decision. Example: 'Approved, enjoy your vacation!'

Example input: `{"request_id":"<request_id>","team_id":"<team_id>"}`

### `microsoft365_teams_archive_channel`

Archive Teams Channel · Write

Archive a channel in a Microsoft Teams team, making it read-only for members. Archiving is reversible — the channel can be unarchived later. Optionally sets the associated SharePoint site to read-only.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `channel_id` (`string`, required): The unique identifier of the Teams channel to archive.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team that contains the channel to archive.
- `set_spo_site_readonly` (`boolean`, optional): If true, the SharePoint Online (SPO) site associated with the channel will also be set to read-only when the channel is archived. Defaults to false. Default: `false`.

Example input: `{"channel_id":"<channel_id>","team_id":"<team_id>"}`

### `microsoft365_teams_archive_team`

Archive Teams Team · Write

Archive a Microsoft Teams team, making it read-only. The team is archived asynchronously (HTTP 202). Optionally set the SharePoint site associated with the team to read-only as well. To restore a team, use the unarchive endpoint.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team to archive.
- `should_set_spo_site_read_only_for_members` (`boolean`, optional): If true, sets the SharePoint Online site associated with the team to read-only for members. Defaults to false. Default: `false`.

Example input: `{"team_id":"<team_id>"}`

### `microsoft365_teams_clear_user_presence`

Clear Teams User Presence · Write

Clear a previously set presence override for the signed-in user in Microsoft Teams for a specific application session. Provide the same session ID used when calling setPresence. After clearing, Teams reverts to the user's actual computed presence. Requires the Presence.ReadWrite scope.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `session_id` (`string`, required): The GUID of the application session whose presence override should be cleared. Must match the session ID passed to the setPresence call. Example: '22553876-f5ab-4529-bffb-cfe50aa89f87'.

Example input: `{"session_id":"22553876-f5ab-4529-bffb-cfe50aa89f87"}`

### `microsoft365_teams_clone_team`

Clone Teams Team · Write

Clone an existing Microsoft Teams team into a new team, copying selected parts such as apps, tabs, settings, channels, and/or members. The clone operation is asynchronous (HTTP 202). Required: team_id, display_name, parts_to_clone.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `display_name` (`string`, required): The display name for the new cloned team.
- `parts_to_clone` (`string`, required): Comma-separated list of team parts to clone. Valid parts: apps, tabs, settings, channels, members. Example: 'apps,tabs,settings,channels,members'.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team to clone.
- `classification` (`string`, optional): Classification label for the cloned team (organization-defined, e.g., 'Confidential', 'Internal'). Optional.
- `description` (`string`, optional): Optional description for the cloned team.
- `mail_nickname` (`string`, optional): The mail alias (nickname) for the new team's Microsoft 365 Group. Must be unique in the tenant and contain only alphanumeric characters and hyphens.
- `visibility` (`string`, optional): Visibility of the cloned team. Valid values: 'public' (anyone in org can join), 'private' (owner must invite). Defaults to 'private'. One of: `public`, `private`. Default: `private`.

Example input: `{"display_name":"Work Contacts","parts_to_clone":"apps,tabs,settings,channels,members","team_id":"<team_id>"}`

### `microsoft365_teams_create_channel`

Create Teams Channel · Write

Create a new channel in a Microsoft Teams team. Supports standard, private, and shared channel membership types. Requires the team ID and a display name for the new channel.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `display_name` (`string`, required): The display name of the new channel. Must be unique within the team and cannot contain special characters like #, &, :, <, >, *, ?.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team in which to create the channel.
- `description` (`string`, optional): Optional description for the new channel (plain text, up to 1024 characters).
- `membership_type` (`string`, optional): The membership type of the channel: 'standard' (visible to all team members), 'private' (invite-only subset of team members), or 'shared' (shared with people outside the team). Defaults to 'standard'. One of: `standard`, `private`, `shared`. Default: `standard`.

Example input: `{"display_name":"Work Contacts","team_id":"<team_id>"}`

### `microsoft365_teams_create_channel_tab`

Create Teams Channel Tab · Write

Add (pin) a new app tab to a Microsoft Teams channel, such as a website, document, or third-party app tab.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `channel_id` (`string`, required): The unique identifier of the channel to add the tab to.
- `content_url` (`string`, required): The URL to render inside the tab (the tab's configuration.contentUrl).
- `display_name` (`string`, required): The display name of the new tab.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team that contains the channel.
- `teams_app_id` (`string`, required): The teamsApp catalog identifier for the app to pin as a tab. Use 'com.microsoft.teamspace.tab.web' for a generic website tab.
- `entity_id` (`string`, optional): Optional app-defined identifier for the entity displayed in the tab.
- `website_url` (`string`, optional): Optional URL to use when the tab is opened outside of Teams, in a browser.

Example input: `{"channel_id":"<channel_id>","content_url":"<content_url>","display_name":"Work Contacts","team_id":"<team_id>","teams_app_id":"<teams_app_id>"}`

### `microsoft365_teams_create_chat`

Create Teams Chat · Write

Create a new one-on-one or group chat in Microsoft Teams. Provide the Azure AD object IDs of the members to include (not including the caller, who is added automatically).

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `chat_type` (`string`, required): The type of chat to create. Use 'oneOnOne' when member_user_ids contains exactly one other user, or 'group' for a group chat. One of: `oneOnOne`, `group`.
- `member_user_ids` (`string`, required): Comma-separated Azure AD object IDs of the users to add to the chat, in addition to the caller.
- `topic` (`string`, optional): Optional subject or topic for the chat. Only applies to group chats.

Example input: `{"chat_type":"oneOnOne","member_user_ids":"<member_user_ids>"}`

### `microsoft365_teams_create_online_meeting`

Create Teams Online Meeting · Write

Create a new Microsoft Teams online meeting for the signed-in user. Requires a subject, start time, and end time in ISO 8601 format. Optionally invite attendees by UPN (email) and control who can present.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `end_date_time` (`string`, required): The end date and time of the meeting in ISO 8601 UTC format. Example: '2024-07-15T10:00:00Z'.
- `start_date_time` (`string`, required): The start date and time of the meeting in ISO 8601 UTC format. Example: '2024-07-15T09:00:00Z'.
- `subject` (`string`, required): The subject/title of the online meeting. Displayed to all participants in the meeting invite and join page.
- `allowed_presenters` (`string`, optional): Who can present in the meeting. 'everyone' allows all participants, 'organization' restricts to org members, 'roleIsPresenter' limits to assigned presenters, 'organizer' restricts to the meeting organizer only. Defaults to 'organization'. One of: `everyone`, `organization`, `roleIsPresenter`, `organizer`. Default: `organization`.
- `attendee_upns` (`array`, optional): Array of UPN (User Principal Name / email address) strings for meeting attendees. Example: ["alice@contoso.com", "bob@contoso.com"]. Each UPN is mapped to an attendee object in the participants block.

Example input: `{"end_date_time":"2024-07-15T10:00:00Z","start_date_time":"2024-07-15T09:00:00Z","subject":"<subject>"}`

### `microsoft365_teams_create_shift`

Create Teams Shift · Write

Create a new shift in a Microsoft Teams team schedule. Requires team ID, user ID, scheduling group ID, and start/end date times in ISO 8601 format. Optionally set a display name, notes, and theme color for the shift.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `end_date_time` (`string`, required): The end date and time of the shift in ISO 8601 UTC format. Example: '2024-07-15T17:00:00Z'.
- `scheduling_group_id` (`string`, required): The unique identifier of the scheduling group (team member group) to assign the shift to. Obtain from the scheduling groups API.
- `start_date_time` (`string`, required): The start date and time of the shift in ISO 8601 UTC format. Example: '2024-07-15T09:00:00Z'.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team whose schedule to create the shift in.
- `user_id` (`string`, required): The unique identifier (object ID) of the user to assign the shift to. Obtain from the Microsoft Entra user object or list users API.
- `display_name` (`string`, optional): Optional display name for the shift, shown on the schedule. Example: 'Morning Shift'.
- `notes` (`string`, optional): Optional notes or instructions for the shift, visible to the assigned user. Example: 'Please cover the front desk.'.
- `theme` (`string`, optional): Color theme for the shift block on the schedule view. Valid values: white, blue, green, purple, pink, yellow, gray, darkBlue, darkGreen, darkPurple, darkPink, darkYellow. Defaults to 'blue'. One of: `white`, `blue`, `green`, `purple`, `pink`, `yellow`, `gray`, `darkBlue`, `darkGreen`, `darkPurple`, `darkPink`, `darkYellow`. Default: `blue`.

Example input: `{"end_date_time":"2024-07-15T17:00:00Z","scheduling_group_id":"<scheduling_group_id>","start_date_time":"2024-07-15T09:00:00Z","team_id":"<team_id>","user_id":"aaaabbbb-1234-5678-abcd-ef0123456789"}`

### `microsoft365_teams_create_shift_swap_request`

Create Teams Shift Swap Request · Write

Create a shift swap request in a Microsoft Teams team schedule, proposing that two employees exchange their shifts. Requires the team ID, both employees' user IDs and their respective shift IDs. Optionally include a message from the requester.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `recipient_shift_id` (`string`, required): The unique identifier of the shift belonging to the recipient (the employee whose shift the sender wants to take). Obtain from the list shifts API.
- `recipient_user_id` (`string`, required): The Azure AD object ID of the employee being asked to swap their shift.
- `sender_shift_id` (`string`, required): The unique identifier of the shift belonging to the sender (the employee initiating the swap). Obtain from the list shifts API.
- `sender_user_id` (`string`, required): The Azure AD object ID of the employee initiating the shift swap request.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team whose schedule the shift swap request belongs to.
- `sender_message` (`string`, optional): Optional message from the requesting employee explaining why they want to swap. Example: 'I have a doctor's appointment during my shift.'

Example input: `{"recipient_shift_id":"<recipient_shift_id>","recipient_user_id":"<recipient_user_id>","sender_shift_id":"<sender_shift_id>","sender_user_id":"<sender_user_id>","team_id":"<team_id>"}`

### `microsoft365_teams_create_team`

Create Teams Team · Write

Create a new Microsoft Teams team from a template. The team is created asynchronously (HTTP 202); poll the returned operation URL for completion. Required: display_name. Optional: description and template (defaults to 'standard').

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `display_name` (`string`, required): The display name of the new team. Must be unique within the tenant.
- `description` (`string`, optional): Optional description for the new team (plain text, up to 1024 characters).
- `template` (`string`, optional): The Teams template to use when creating the team. Valid values: 'standard', 'educationClass', 'educationStaff', 'educationProfessionalLearningCommunity', 'healthcareWard', 'healthcareTeam'. Defaults to 'standard'. One of: `standard`, `educationClass`, `educationStaff`, `educationProfessionalLearningCommunity`, `healthcareWard`, `healthcareTeam`. Default: `standard`.

Example input: `{"display_name":"Work Contacts"}`

### `microsoft365_teams_create_time_off_request`

Create Teams Time Off Request · Write

Submit a time-off request in a Microsoft Teams team schedule. Requires the team ID, the sender's user ID, start and end date-times in ISO 8601 UTC format, and the time-off reason ID. Optionally include a message from the sender to the manager.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `end_date_time` (`string`, required): The end date and time of the time-off period in ISO 8601 UTC format. Example: '2024-08-02T17:00:00Z'.
- `sender_user_id` (`string`, required): The Azure AD object ID of the employee submitting the time-off request. Obtain from the Microsoft Entra user object or list users API.
- `start_date_time` (`string`, required): The start date and time of the time-off period in ISO 8601 UTC format. Example: '2024-07-29T00:00:00Z'.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team whose schedule the request belongs to.
- `time_off_reason_id` (`string`, required): The ID of the time-off reason (e.g., vacation, sick leave) defined in the team schedule. Obtain from the team's timeOffReasons API.
- `sender_message` (`string`, optional): Optional message from the employee to the manager accompanying the time-off request. Example: 'Family vacation.'

Example input: `{"end_date_time":"2024-08-02T17:00:00Z","sender_user_id":"<sender_user_id>","start_date_time":"2024-07-29T00:00:00Z","team_id":"<team_id>","time_off_reason_id":"<time_off_reason_id>"}`

### `microsoft365_teams_decline_shift_swap_request`

Decline Teams Shift Swap Request · Write

Decline a pending shift swap request in a Microsoft Teams team schedule. Requires the team ID and request ID. Optionally include a manager note with the decision.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `request_id` (`string`, required): The unique identifier of the shift swap request to decline.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team whose schedule contains the swap request.
- `message` (`string`, optional): Optional message from the manager to include with the decline decision.

Example input: `{"request_id":"<request_id>","team_id":"<team_id>"}`

### `microsoft365_teams_decline_time_off_request`

Decline Teams Time Off Request · Write

Decline a pending time-off request in a Microsoft Teams team schedule. Requires the team ID and request ID. Optionally include a manager message explaining the decision. Returns HTTP 204 No Content on success.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `request_id` (`string`, required): The unique identifier of the time-off request to decline. Obtain from the list time-off requests API.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team whose schedule contains the time-off request.
- `message` (`string`, optional): Optional message from the manager to include with the decline decision. Example: 'Insufficient coverage during that period.'

Example input: `{"request_id":"<request_id>","team_id":"<team_id>"}`

### `microsoft365_teams_pin_channel_message`

Pin Teams Channel Message · Write

Pin a message in a Microsoft Teams channel so it appears in the channel's pinned messages list. Requires the team ID, channel ID, and message ID.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `channel_id` (`string`, required): The unique identifier of the Teams channel that contains the message to pin.
- `message_id` (`string`, required): The unique identifier of the Teams channel message to pin.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team that contains the channel.

Example input: `{"channel_id":"<channel_id>","message_id":"<message_id>","team_id":"<team_id>"}`

### `microsoft365_teams_provision_channel_email`

Provision Teams Channel Email · Write

Provision an email address for a Microsoft Teams channel, enabling users to send emails directly to the channel. Returns the provisioned email address. If an email has already been provisioned, returns the existing address.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `channel_id` (`string`, required): The unique identifier of the Teams channel for which to provision an email address.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team that contains the channel.

Example input: `{"channel_id":"<channel_id>","team_id":"<team_id>"}`

### `microsoft365_teams_remove_channel_email`

Remove Teams Channel Email · Write

Remove the email address provisioned for a Microsoft Teams channel. After removal, emails can no longer be sent to the channel via that email address.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `channel_id` (`string`, required): The unique identifier of the Teams channel from which to remove the provisioned email address.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team that contains the channel.

Example input: `{"channel_id":"<channel_id>","team_id":"<team_id>"}`

### `microsoft365_teams_reply_to_channel_message`

Reply to Teams Channel Message · Write

Post a reply to an existing Microsoft Teams channel message thread. Supports plain text or HTML content, an optional subject, and importance levels.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `channel_id` (`string`, required): The unique identifier of the Teams channel containing the message to reply to.
- `content` (`string`, required): The text or HTML content of the reply message.
- `message_id` (`string`, required): The unique identifier of the channel message to reply to.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team that contains the channel.
- `content_type` (`string`, optional): The format of the reply content: 'text' for plain text or 'html' for HTML markup. Defaults to 'text'. One of: `text`, `html`. Default: `text`.
- `importance` (`string`, optional): The importance of the reply message. Valid values: 'normal', 'high', 'urgent'. One of: `normal`, `high`, `urgent`.
- `subject` (`string`, optional): Optional subject line for the reply (appears as a headline above the body).

Example input: `{"channel_id":"<channel_id>","content":"<content>","message_id":"<message_id>","team_id":"<team_id>"}`

### `microsoft365_teams_reply_to_chat_message`

Reply to Teams Chat Message · Write

Send a reply to an existing message in a Microsoft Teams chat thread. Supports plain text or HTML content. This endpoint is available on the Microsoft Graph beta API.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `chat_id` (`string`, required): The unique identifier of the Teams chat that contains the message to reply to.
- `content` (`string`, required): The text or HTML content of the reply message.
- `message_id` (`string`, required): The unique identifier of the Teams chat message to reply to.
- `content_type` (`string`, optional): The format of the reply content: 'text' for plain text or 'html' for HTML markup. Defaults to 'text'. One of: `text`, `html`. Default: `text`.

Example input: `{"chat_id":"<chat_id>","content":"<content>","message_id":"<message_id>"}`

### `microsoft365_teams_send_channel_message`

Send Teams Channel Message · Write

Send a new message to a Microsoft Teams channel. Supports plain text or HTML content, an optional subject line, and importance levels (normal, high, urgent).

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `channel_id` (`string`, required): The unique identifier of the Teams channel to send the message to.
- `content` (`string`, required): The text or HTML content of the message to send.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team that contains the channel.
- `content_type` (`string`, optional): The format of the message content: 'text' for plain text or 'html' for HTML markup. Defaults to 'text'. One of: `text`, `html`. Default: `text`.
- `importance` (`string`, optional): The importance of the message. Valid values: 'normal', 'high', 'urgent'. Defaults to normal if omitted. One of: `normal`, `high`, `urgent`.
- `subject` (`string`, optional): Optional subject line for the channel message (appears as a headline above the body).

Example input: `{"channel_id":"<channel_id>","content":"<content>","team_id":"<team_id>"}`

### `microsoft365_teams_send_chat_message`

Send Teams Chat Message · Write

Send a new message to a Microsoft Teams chat (1:1, group, or meeting chat). Supports plain text or HTML content. Requires Chat.ReadWrite scope.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `chat_id` (`string`, required): The unique identifier of the Teams chat to send the message to. Obtain from the list chats API or Teams client URL.
- `content` (`string`, required): The text or HTML content of the message to send to the chat.
- `content_type` (`string`, optional): The format of the message content: 'text' for plain text or 'html' for HTML markup. Defaults to 'text'. One of: `text`, `html`. Default: `text`.

Example input: `{"chat_id":"<chat_id>","content":"<content>"}`

### `microsoft365_teams_set_preferred_presence`

Set Teams Preferred Presence · Write

Set the preferred presence status for the signed-in user in Microsoft Teams. Unlike setPresence (which is session-scoped), this persists a user-level preferred status that overrides the computed presence. Requires availability and activity values. Optionally specify an expiration duration in ISO 8601 format (e.g., PT1H). Requires the Presence.ReadWrite scope.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `activity` (`string`, required): The preferred activity of the user. Must be consistent with the chosen availability. Valid values: Available, Busy, InACall, InAConferenceCall, InAMeeting, Presenting, Away, DoNotDisturb, UrgentInterruptionsOnly, OffWork. One of: `Available`, `Busy`, `InACall`, `InAConferenceCall`, `InAMeeting`, `Presenting`, `Away`, `DoNotDisturb`, `UrgentInterruptionsOnly`, `OffWork`.
- `availability` (`string`, required): The preferred presence state of the user at the user level (not session-scoped). Valid values: Available, Busy, DoNotDisturb, BeRightBack, Away, Offline. One of: `Available`, `Busy`, `DoNotDisturb`, `BeRightBack`, `Away`, `Offline`.
- `expiration_duration` (`string`, optional): How long the preferred presence override should remain active, expressed as an ISO 8601 duration. Example: 'PT1H' for 1 hour, 'PT4H' for 4 hours. If omitted, the preference persists until explicitly cleared via clearUserPreferredPresence.

Example input: `{"activity":"Available","availability":"Available"}`

### `microsoft365_teams_set_user_presence`

Set Teams User Presence · Write

Set the presence status of the signed-in user in Microsoft Teams for a specific application session. Requires a session ID (a stable GUID representing the calling app), an availability value (e.g., Available, Busy, DoNotDisturb), and an activity value. Optionally specify an expiration duration in ISO 8601 duration format (e.g., PT1H). Requires the Presence.ReadWrite scope.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `activity` (`string`, required): The current activity of the user. Must be consistent with the chosen availability. Valid values: Available, Busy, InACall, InAConferenceCall, InAMeeting, Presenting, Away, DoNotDisturb, UrgentInterruptionsOnly, OffWork. One of: `Available`, `Busy`, `InACall`, `InAConferenceCall`, `InAMeeting`, `Presenting`, `Away`, `DoNotDisturb`, `UrgentInterruptionsOnly`, `OffWork`.
- `availability` (`string`, required): The base presence state of the user. Valid values: Available, Busy, DoNotDisturb, BeRightBack, Away, Offline. One of: `Available`, `Busy`, `DoNotDisturb`, `BeRightBack`, `Away`, `Offline`.
- `session_id` (`string`, required): A stable GUID identifying the calling application session. Use a consistent GUID per application so multiple calls from the same app update the same session. Example: '22553876-f5ab-4529-bffb-cfe50aa89f87'.
- `expiration_duration` (`string`, optional): How long the presence override should remain active, expressed as an ISO 8601 duration. Example: 'PT1H' for 1 hour, 'PT30M' for 30 minutes. If omitted, the presence persists until explicitly cleared.

Example input: `{"activity":"Available","availability":"Available","session_id":"22553876-f5ab-4529-bffb-cfe50aa89f87"}`

### `microsoft365_teams_unpin_channel_message`

Unpin Teams Channel Message · Write

Unpin a previously pinned message in a Microsoft Teams channel. The message remains in the channel history but is removed from the pinned messages list.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `channel_id` (`string`, required): The unique identifier of the Teams channel that contains the pinned message.
- `message_id` (`string`, required): The unique identifier of the Teams channel message to unpin.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team that contains the channel.

Example input: `{"channel_id":"<channel_id>","message_id":"<message_id>","team_id":"<team_id>"}`

### `microsoft365_teams_update_channel`

Update Teams Channel · Write

Update the properties of an existing Microsoft Teams channel, such as its display name or description. At least one of display_name or description must be provided.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `channel_id` (`string`, required): The unique identifier of the Teams channel to update.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team that contains the channel to update.
- `description` (`string`, optional): New description for the channel. Optional. At least one of display_name or description must be provided.
- `display_name` (`string`, optional): New display name for the channel. Cannot contain special characters like #, &, :, <, >, *, ?. At least one of display_name or description must be provided.

Example input: `{"channel_id":"<channel_id>","team_id":"<team_id>"}`

### `microsoft365_teams_update_channel_message`

Update Teams Channel Message · Write

Update the body content of an existing Microsoft Teams channel message. Only the message body can be edited after posting.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `channel_id` (`string`, required): The unique identifier of the Teams channel containing the message to update.
- `content` (`string`, required): The new text or HTML content to replace the existing message body with.
- `message_id` (`string`, required): The unique identifier of the channel message to update.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team that contains the channel.
- `content_type` (`string`, optional): The format of the updated content: 'text' for plain text or 'html' for HTML markup. Defaults to 'text'. One of: `text`, `html`. Default: `text`.

Example input: `{"channel_id":"<channel_id>","content":"<content>","message_id":"<message_id>","team_id":"<team_id>"}`

### `microsoft365_teams_update_chat`

Update Teams Chat · Write

Update the properties of a group chat, such as renaming its topic. Only applies to group chats — 1:1 chats do not support a topic.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `chat_id` (`string`, required): The unique identifier of the chat to update.
- `topic` (`string`, required): The new subject or topic for the group chat.

Example input: `{"chat_id":"<chat_id>","topic":"<topic>"}`

### `microsoft365_teams_update_online_meeting`

Update Teams Online Meeting · Write

Update an existing Microsoft Teams online meeting by meeting ID. Any combination of subject, start time, end time, and allowed presenters can be updated in a single call.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `meeting_id` (`string`, required): The unique identifier of the online meeting to update. Obtain from the ID field returned when creating or listing meetings.
- `allowed_presenters` (`string`, optional): Updated setting for who can present in the meeting. Valid values: 'everyone', 'organization', 'roleIsPresenter', 'organizer'. One of: `everyone`, `organization`, `roleIsPresenter`, `organizer`.
- `end_date_time` (`string`, optional): Updated end date and time for the meeting in ISO 8601 UTC format. Example: '2024-07-15T11:00:00Z'. Leave blank to keep the existing end time.
- `start_date_time` (`string`, optional): Updated start date and time for the meeting in ISO 8601 UTC format. Example: '2024-07-15T10:00:00Z'. Leave blank to keep the existing start time.
- `subject` (`string`, optional): Updated subject/title for the online meeting. Leave blank to keep the existing subject.

Example input: `{"meeting_id":"<meeting_id>"}`

### `microsoft365_teams_update_shift`

Update Teams Shift · Write

Update an existing shift in a Microsoft Teams team schedule by shift ID. Replaces the shift with the provided fields. Requires team ID and shift ID. The sharedShift block fields (start/end time, display name, notes, theme) are built conditionally from optional inputs.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `shift_id` (`string`, required): The unique identifier of the shift to update. Obtain from the create shift response or list shifts API.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team whose schedule contains the shift.
- `display_name` (`string`, optional): Updated display name for the shift shown on the schedule. Leave blank to keep the existing display name.
- `end_date_time` (`string`, optional): Updated end date and time for the shift in ISO 8601 UTC format. Example: '2024-07-15T18:00:00Z'. Leave blank to keep the existing end time.
- `notes` (`string`, optional): Updated notes for the shift visible to the assigned employee. Leave blank to keep the existing notes.
- `scheduling_group_id` (`string`, optional): Updated scheduling group ID for the shift. Leave blank to keep the existing scheduling group.
- `start_date_time` (`string`, optional): Updated start date and time for the shift in ISO 8601 UTC format. Example: '2024-07-15T10:00:00Z'. Leave blank to keep the existing start time.
- `theme` (`string`, optional): Updated color theme for the shift block on the schedule view. Valid values: white, blue, green, purple, pink, yellow, gray, darkBlue, darkGreen, darkPurple, darkPink, darkYellow. One of: `white`, `blue`, `green`, `purple`, `pink`, `yellow`, `gray`, `darkBlue`, `darkGreen`, `darkPurple`, `darkPink`, `darkYellow`.
- `user_id` (`string`, optional): Updated user ID (Azure AD object ID) to reassign the shift to. Leave blank to keep the existing assignment.

Example input: `{"shift_id":"<shift_id>","team_id":"<team_id>"}`

### `microsoft365_teams_update_team`

Update Teams Team · Write

Update the properties of an existing Microsoft Teams team. Requires team_id. At least one of display_name, description, or visibility must be provided. Returns HTTP 204 with no body on success.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team to update.
- `description` (`string`, optional): New description for the team (plain text, up to 1024 characters).
- `display_name` (`string`, optional): New display name for the team.
- `visibility` (`string`, optional): Visibility of the team. Valid values: 'public' (anyone in org can join), 'private' (owner must invite). Note: changing from private to public is allowed; changing back may be restricted. One of: `public`, `private`.

Example input: `{"team_id":"<team_id>"}`

### `microsoft365_teams_update_team_member`

Update Teams Team Member · Write

Update the role of an existing member in a Microsoft Teams team, promoting them to owner or demoting them to member. Requires the team ID, the conversationMember ID (membership_id), and the new role. Returns the updated conversationMember resource (HTTP 200).

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `membership_id` (`string`, required): The conversationMember ID of the membership to update. This is the unique ID of the member's team membership returned by the list team members or add member APIs — it is NOT the Azure AD user ID.
- `role` (`string`, required): The new role to assign to the team member. Valid values: 'member' (standard member) or 'owner' (team owner with admin privileges). One of: `member`, `owner`.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team containing the member to update.

Example input: `{"membership_id":"<membership_id>","role":"member","team_id":"<team_id>"}`

### `microsoft365_word_create_document`

Create Word Document · Write

Create a new Word document (.docx) in OneDrive by initiating a resumable upload session. Returns an uploadUrl that the caller must use to upload the .docx file bytes via one or more PUT requests. The document is placed under the specified parent folder with the given filename. Requires Files.ReadWrite or Files.ReadWrite.All scope.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `filename` (`string`, required): The base name of the Word document to create, without the .docx extension. The extension is appended automatically. Example: "Project Proposal" creates "Project Proposal.docx".
- `parent_id` (`string`, required): The OneDrive item ID of the parent folder where the document will be created. Use "root" to create the document at the top level of OneDrive. Obtain folder IDs from list or get drive item operations.
- `conflict_behavior` (`string`, optional): Behavior when a file with the same name already exists in the target folder. "fail" aborts and returns an error, "replace" overwrites the existing file, "rename" saves the new document with a different auto-generated name. Default: replace. One of: `fail`, `replace`, `rename`. Default: `replace`.

Example input: `{"filename":"Project Proposal","parent_id":"<parent_id>"}`

### `microsoft365_excel_delete_chart`

Delete Excel Chart · Destructive

Delete a chart from an Excel worksheet stored in OneDrive. This permanently removes the chart from the worksheet. Requires the OneDrive item ID, worksheet name or GUID, and chart name or GUID.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `chart_id` (`string`, required): Name or ID of the chart to delete. Example: 'Chart 1' or the GUID assigned by Excel.
- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `worksheet_id` (`string`, required): Worksheet name or GUID containing the chart to delete. Example: 'Sheet1'.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"chart_id":"Chart 1","item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","worksheet_id":"Sheet1"}`

### `microsoft365_excel_delete_table`

Delete Excel Table · Destructive

Permanently delete a table from an Excel workbook stored in OneDrive. The underlying cell data is preserved but the table formatting and structure are removed. This action cannot be undone.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `table_id` (`string`, required): Table name or numeric ID to delete. Example: 'Table1' or '1'. This permanently removes the table structure (cell data is kept).
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","table_id":"Table1"}`

### `microsoft365_excel_delete_table_column`

Delete Excel Table Column · Destructive

Delete a column from an Excel table by its zero-based index. This permanently removes the column and all its data from the table. Requires the OneDrive item ID, table name or ID, and the column index to delete.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `column_index` (`integer`, required): Zero-based index of the column to delete within the table. Example: 0 deletes the first column, 2 deletes the third column.
- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `table_id` (`string`, required): Name or ID of the table containing the column to delete. Example: 'Table1' or the GUID assigned by Excel.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"column_index":0,"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","table_id":"Table1"}`

### `microsoft365_excel_delete_table_row`

Delete Excel Table Row · Destructive

Permanently delete a row from an Excel table in a workbook stored in OneDrive by its zero-based row index. All rows below the deleted row shift up by one. This action cannot be undone.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `row_index` (`integer`, required): Zero-based index of the row to delete within the table. The header row is not counted; index 0 refers to the first data row. Example: 0 deletes the first data row.
- `table_id` (`string`, required): Table name or numeric ID from which to delete the row. Example: 'Table1' or '1'.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","row_index":0,"table_id":"Table1"}`

### `microsoft365_excel_delete_worksheet`

Delete Excel Worksheet · Destructive

Permanently delete a worksheet from an Excel workbook stored in OneDrive. This action cannot be undone. The workbook must have at least one remaining visible worksheet after deletion.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): OneDrive item ID of the Excel (.xlsx) file. Example: '01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K'.
- `worksheet_id` (`string`, required): Worksheet name or GUID to delete. Example: 'Sheet1' or '{00000000-0001-0000-0000-000000000000}'.
- `session_id` (`string`, optional): Optional workbook session ID from createSession. When provided, sent as the workbook-session-id header. Example: 'cluster=SN2&session=...'.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","worksheet_id":"Sheet1"}`

### `microsoft365_onedrive_delete_drive_item`

Delete Drive Item · Destructive

Permanently delete a file or folder from OneDrive by its item ID. This action cannot be undone — the item is moved to the recycle bin and eventually purged. Use with caution.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): The unique ID of the OneDrive file or folder to delete. Obtain item IDs from list or get drive item operations. Deleting a folder also removes all its contents.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_onedrive_delete_item_in_drive`

Delete Item in Drive · Destructive

Delete a file or folder from a specific drive by drive ID and item ID. The item is moved to the recycle bin. Works across any drive accessible to the signed-in user, including SharePoint document libraries and Teams drives. Deleting a folder also removes all its contents. To delete an item from the signed-in user's personal OneDrive, use microsoft365_onedrive_delete_drive_item instead.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `drive_id` (`string`, required): The unique ID of the drive containing the item to delete. Obtain drive IDs from microsoft365_onedrive_list_drives or microsoft365_sharepoint_list_drives.
- `item_id` (`string`, required): The unique ID of the file or folder to delete. Obtain item IDs from list or get item operations. Deleting a folder also removes all its contents.

Example input: `{"drive_id":"<drive_id>","item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K"}`

### `microsoft365_onedrive_delete_permission`

Delete Drive Item Permission · Destructive

Remove a specific permission (sharing link or user grant) from a OneDrive file or folder. Once deleted, users who had access only through this permission will lose access. This action cannot be undone.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): The unique ID of the OneDrive file or folder from which to remove the permission. Obtain item IDs from list or get drive item operations.
- `permission_id` (`string`, required): The unique ID of the permission to delete. Obtain permission IDs from list permissions operations.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","permission_id":"aGVyZUlzVGhlV2F5VGhlUG93ZXJJcw"}`

### `microsoft365_outlook_delete_calendar`

Delete Calendar · Destructive

Delete a calendar and all the events it contains. Cannot be used to delete the user's default calendar.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `calendar_id` (`string`, required): The unique identifier of the calendar to delete.

Example input: `{"calendar_id":"<calendar_id>"}`

### `microsoft365_outlook_delete_calendar_event`

Delete Calendar Event · Destructive

Delete a calendar event by ID.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `event_id` (`string`, required): No description.

Example input: `{"event_id":"AAMkAGI2..."}`

### `microsoft365_outlook_delete_calendar_group`

Delete Calendar Group · Destructive

Permanently delete a calendar group from the signed-in user's mailbox. Note: you cannot delete the default calendar group. All calendars within the group will also be deleted.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `group_id` (`string`, required): The unique ID of the calendar group to delete (e.g., 'AAMkAGI2...'). Obtain from List Calendar Groups. Cannot be the default calendar group.

Example input: `{"group_id":"AAMkAGI2..."}`

### `microsoft365_outlook_delete_calendar_permission`

Delete Calendar Permission · Destructive

Revoke a user's access to a specific Outlook calendar by deleting the calendar permission entry. This action is permanent and immediately removes the user's access.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `calendar_id` (`string`, required): The unique identifier of the calendar from which to remove the permission.
- `permission_id` (`string`, required): The unique identifier of the calendar permission entry to delete. Retrieve from the list calendar permissions endpoint.

Example input: `{"calendar_id":"<calendar_id>","permission_id":"aGVyZUlzVGhlV2F5VGhlUG93ZXJJcw"}`

### `microsoft365_outlook_delete_category`

Delete Outlook Category · Destructive

Delete an Outlook master category for the signed-in user. This permanently removes the category definition. Any messages or items tagged with this category will retain the tag label but the category color will no longer appear.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `category_id` (`string`, required): The unique ID of the Outlook category to delete. Retrieve it from the list_categories tool.

Example input: `{"category_id":"<category_id>"}`

### `microsoft365_outlook_delete_contact`

Delete Contact · Destructive

Permanently delete a contact.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `contact_id` (`string`, required): Contact ID.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"contact_id":"AAMkAGI2..."}`

### `microsoft365_outlook_delete_contact_folder`

Delete Contact Folder · Destructive

Permanently delete a contact folder and all its contents from the signed-in user's mailbox. This action cannot be undone.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `folder_id` (`string`, required): The unique ID of the contact folder to delete (e.g., 'AAMkAGI2...'). Obtain from List Contact Folders. Warning: deletes all contacts within the folder.

Example input: `{"folder_id":"AAMkAGI2..."}`

### `microsoft365_outlook_delete_event_attachment`

Delete Event Attachment · Destructive

Delete a single attachment from a calendar event by attachment ID.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `attachment_id` (`string`, required): The ID of the attachment to delete.
- `event_id` (`string`, required): The ID of the event the attachment belongs to.

Example input: `{"attachment_id":"<attachment_id>","event_id":"AAMkAGI2..."}`

### `microsoft365_outlook_delete_focused_inbox_override`

Delete Focused Inbox Override · Destructive

Delete a Focused Inbox override rule for the signed-in user. Once deleted, messages from that sender will revert to automatic machine learning classification.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `override_id` (`string`, required): The unique ID of the Focused Inbox override rule to delete (e.g., 'AAMkAGI2...'). Obtain this from the List Focused Inbox Overrides tool.

Example input: `{"override_id":"AAMkAGI2..."}`

### `microsoft365_outlook_delete_mail_folder`

Delete Mail Folder · Destructive

Permanently delete a mail folder and its contents.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `folder_id` (`string`, required): Folder ID.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"folder_id":"inbox"}`

### `microsoft365_outlook_delete_message`

Delete Message · Destructive

Permanently delete an email message.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `message_id` (`string`, required): Message ID.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"message_id":"<message_id>"}`

### `microsoft365_outlook_delete_message_rule`

Delete Message Rule · Destructive

Delete an inbox message rule.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `rule_id` (`string`, required): Rule ID.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"rule_id":"<rule_id>"}`

### `microsoft365_outlook_permanently_delete_message`

Permanently Delete Message · Destructive

Permanently delete a message, bypassing the Deleted Items folder. The message is moved straight to the Purges folder in Recoverable Items and cannot be restored from the mailbox UI. Use delete_message instead for a normal, recoverable delete.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `message_id` (`string`, required): The unique identifier of the message to permanently delete.

Example input: `{"message_id":"<message_id>"}`

### `microsoft365_outlook_todo_checklist_items_delete`

Delete Checklist Item · Destructive

Permanently delete a checklist item (subtask) from a task in a Microsoft To Do task list.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `checklist_item_id` (`string`, required): The ID of the checklist item to delete.
- `list_id` (`string`, required): The ID of the task list.
- `task_id` (`string`, required): The ID of the task.

Example input: `{"checklist_item_id":"<checklist_item_id>","list_id":"<list_id>","task_id":"<task_id>"}`

### `microsoft365_outlook_todo_lists_delete`

Delete To Do List · Destructive

Permanently delete a Microsoft To Do task list and all its tasks.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `list_id` (`string`, required): The ID of the task list to delete.

Example input: `{"list_id":"<list_id>"}`

### `microsoft365_outlook_todo_tasks_delete`

Delete To Do Task · Destructive

Permanently delete a task from a Microsoft To Do task list.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `list_id` (`string`, required): The ID of the task list.
- `task_id` (`string`, required): The ID of the task to delete.

Example input: `{"list_id":"<list_id>","task_id":"<task_id>"}`

### `microsoft365_sharepoint_delete_list`

Delete SharePoint List · Destructive

Permanently delete a SharePoint list from a site. This action is irreversible and removes the list along with all its items and metadata.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `list_id` (`string`, required): ID of the SharePoint list to delete. Use the list GUID or the list's display name.
- `site_id` (`string`, required): ID of the SharePoint site that contains the list. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.

Example input: `{"list_id":"<list_id>","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_delete_list_field`

Delete SharePoint List Field · Destructive

Permanently delete a column (field) from a SharePoint list. This action is irreversible and removes the column definition and all data stored in that column for every list item.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `column_id` (`string`, required): ID of the column to delete. Use the column GUID returned by the list fields endpoint.
- `list_id` (`string`, required): ID of the SharePoint list that contains the column. Use the list GUID or display name.
- `site_id` (`string`, required): ID of the SharePoint site that contains the list. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.

Example input: `{"column_id":"Status","list_id":"<list_id>","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_delete_list_item`

Delete SharePoint List Item · Destructive

Permanently delete an item from a SharePoint list. This action is irreversible and removes the item and all its field data.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `item_id` (`string`, required): ID of the list item to delete. This is the numeric or string identifier of the item within the list.
- `list_id` (`string`, required): ID of the SharePoint list that contains the item. Use the list GUID or display name.
- `site_id` (`string`, required): ID of the SharePoint site that contains the list. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","list_id":"<list_id>","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_delete_role_assignment`

Delete SharePoint Site Role Assignment · Destructive

Remove a specific permission entry from a SharePoint site by deleting its permission ID. This permanently removes the granted access for the user or group associated with that permission.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `permission_id` (`string`, required): The ID of the permission entry to delete. Obtain this from the list permissions endpoint. Example: 'aGVyZUlzVGhlV2F5VGhlUG93ZXJJcw'.
- `site_id` (`string`, required): ID of the SharePoint site from which to remove the permission. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.

Example input: `{"permission_id":"aGVyZUlzVGhlV2F5VGhlUG93ZXJJcw","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_delete_webhook`

Delete SharePoint Webhook Subscription · Destructive

Delete a Microsoft Graph change notification subscription (webhook) by its subscription ID. After deletion, no further notifications will be sent to the registered notification URL for this subscription.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `subscription_id` (`string`, required): The ID of the subscription to delete. Obtain this from the create subscription response or by listing subscriptions. Example: 'abc123de-4567-89ab-cdef-0123456789ab'.

Example input: `{"subscription_id":"abc123de-4567-89ab-cdef-0123456789ab"}`

### `microsoft365_sharepoint_recycle_item`

Recycle SharePoint Item · Destructive

Move a file or folder in a SharePoint document library to the site recycle bin. This is a soft-delete — the item can be restored from the recycle bin. Permanent deletion requires a separate operation on the recycle bin itself.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `item_id` (`string`, required): The unique drive item ID of the file or folder to move to the recycle bin. Obtain item IDs from list drive items or search drive items operations.
- `site_id` (`string`, required): ID of the SharePoint site that contains the item to recycle. Use a site GUID, 'root', or the format '<hostname>:/sites/<path>'.

Example input: `{"item_id":"01BYE5RZ6QN3ZWBTUFOFD3GSPGOHDJD36K","site_id":"contoso.sharepoint.com:/sites/Marketing"}`

### `microsoft365_sharepoint_remove_group_member`

Remove Member from SharePoint Group · Destructive

Remove a user from an Azure AD group (including Microsoft 365 and SharePoint site groups) by providing the group ID and user object ID. This permanently removes the membership.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `group_id` (`string`, required): The Azure AD object ID of the group to remove the member from. Example: '7d8a5b3c-1234-5678-abcd-ef0123456789'.
- `user_id` (`string`, required): The Azure AD object ID of the user to remove from the group. Example: 'aaaabbbb-1234-5678-abcd-ef0123456789'.

Example input: `{"group_id":"7d8a5b3c-1234-5678-abcd-ef0123456789","user_id":"aaaabbbb-1234-5678-abcd-ef0123456789"}`

### `microsoft365_teams_delete_channel`

Delete Teams Channel · Destructive

Permanently delete a channel from a Microsoft Teams team. The General channel of a team cannot be deleted. This action is irreversible and removes all messages and content within the channel.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `channel_id` (`string`, required): The unique identifier of the Teams channel to delete. The General channel cannot be deleted.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team that contains the channel to delete.

Example input: `{"channel_id":"<channel_id>","team_id":"<team_id>"}`

### `microsoft365_teams_delete_channel_message`

Delete Teams Channel Message · Destructive

Soft-delete a Microsoft Teams channel message. The message is retracted and replaced with a tombstone indicating it was deleted.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `channel_id` (`string`, required): The unique identifier of the Teams channel containing the message to delete.
- `message_id` (`string`, required): The unique identifier of the channel message to soft-delete.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team that contains the channel.

Example input: `{"channel_id":"<channel_id>","message_id":"<message_id>","team_id":"<team_id>"}`

### `microsoft365_teams_delete_chat_message`

Delete Teams Chat Message · Destructive

Soft-delete a message in a Microsoft Teams chat. The message is retracted and replaced with a tombstone indicating it was deleted.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `chat_id` (`string`, required): The unique identifier of the chat that contains the message.
- `message_id` (`string`, required): The unique identifier of the message to soft-delete.

Example input: `{"chat_id":"<chat_id>","message_id":"<message_id>"}`

### `microsoft365_teams_delete_online_meeting`

Delete Teams Online Meeting · Destructive

Permanently delete a Microsoft Teams online meeting by meeting ID. This action cannot be undone and removes the meeting for all participants.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `meeting_id` (`string`, required): The unique identifier of the online meeting to delete. Obtain from the create meeting response or list meetings API.

Example input: `{"meeting_id":"<meeting_id>"}`

### `microsoft365_teams_delete_shift`

Delete Teams Shift · Destructive

Permanently delete a shift from a Microsoft Teams team schedule. Requires both the team ID and the shift ID. This action cannot be undone.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `shift_id` (`string`, required): The unique identifier of the shift to delete. Obtain from the create shift response or list shifts API.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team whose schedule contains the shift to delete.

Example input: `{"shift_id":"<shift_id>","team_id":"<team_id>"}`

### `microsoft365_teams_delete_team`

Delete Teams Team · Destructive

Permanently delete a Microsoft Teams team by deleting the underlying Microsoft 365 Group. This action is irreversible. The team and all its channels, messages, and files will be permanently removed. Returns HTTP 204 with no body on success.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team (Group ID) to permanently delete.

Example input: `{"team_id":"<team_id>"}`

### `microsoft365_teams_remove_channel_tab`

Remove Teams Channel Tab · Destructive

Remove (unpin) a tab from a Microsoft Teams channel.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `channel_id` (`string`, required): The unique identifier of the channel that contains the tab.
- `tab_id` (`string`, required): The unique identifier of the tab to remove.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team that contains the channel.

Example input: `{"channel_id":"<channel_id>","tab_id":"<tab_id>","team_id":"<team_id>"}`

### `microsoft365_teams_remove_chat_member`

Remove Teams Chat Member · Destructive

Remove a member from a Microsoft Teams group chat.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `chat_id` (`string`, required): The unique identifier of the chat to remove the member from.
- `membership_id` (`string`, required): The conversationMember ID identifying the user's membership in this chat. Obtain from list_chat_members.

Example input: `{"chat_id":"<chat_id>","membership_id":"<membership_id>"}`

### `microsoft365_teams_remove_team_member`

Remove Teams Team Member · Destructive

Remove a member from a Microsoft Teams team. Requires the team ID and the conversationMember ID (not the Azure AD user ID). The membership_id is the ID returned by the list team members or add team member APIs. Returns HTTP 204 with no body on success.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `membership_id` (`string`, required): The conversationMember ID of the membership to remove. This is the unique ID of the member's team membership, returned by the list team members or add member APIs — it is NOT the Azure AD user ID.
- `team_id` (`string`, required): The unique identifier of the Microsoft Teams team from which to remove the member.

Example input: `{"membership_id":"<membership_id>","team_id":"<team_id>"}`

## Workflows

**Proxy API call**

  **Node.js**

  ```typescript
  const result = await actions.request({
    connectionName: 'microsoft365',
    identifier: 'user_123',
    path: '/v1.0/me/messages',
    method: 'GET',
  });
  console.log(result);
  ```

  **Python**

  ```python
  result = actions.request(
      connection_name='microsoft365',
      identifier='user_123',
      path="/v1.0/me/messages",
      method="GET"
  )
  print(result)
  ```

**Execute a tool**

  **Node.js**

  ```typescript
  const result = await actions.executeTool({
    connector: 'microsoft365',
    identifier: 'user_123',
    toolName: 'microsoft365_outlook_create_calendar_event',
    toolInput: {
      subject: 'Project sync',
      start_datetime: '2026-10-15T10:00:00',
      start_timezone: 'UTC',
      end_datetime: '2026-10-15T10:30:00',
      end_timezone: 'UTC',
    },
  });
  console.log(result);
  ```

  **Python**

  ```python
  result = actions.execute_tool(
      connection_name='microsoft365',
      identifier='user_123',
      tool_name='microsoft365_outlook_create_calendar_event',
      tool_input={
          'subject': 'Project sync',
          'start_datetime': '2026-10-15T10:00:00',
          'start_timezone': 'UTC',
          'end_datetime': '2026-10-15T10:30:00',
          'end_timezone': 'UTC',
      },
  )
  print(result)
  ```

## Related

Other Productivity connectors ([all 151](/agentkit/connectors/?category=productivity)):

- [Slack](/agentkit/connectors/slack/): Scalekit connector, OAuth, 96 tools
- [Notion](/agentkit/connectors/notion/): Scalekit connector, OAuth, 51 tools
- [Google Workspace (DWD)](/agentkit/connectors/googledwd/): Scalekit connector, Service account, 100 tools


---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
