Skip to main content
Glama

Graph MCP

Graph MCP is a Node.js MCP server that connects Claude Code and Codex to Microsoft Teams, Outlook mail and calendar, online meetings, OneDrive, users, and presence through Microsoft Graph. It runs locally over stdio and requires Node.js 22 or newer.

What it does

Graph MCP exposes exactly 127 tools:

Category

Tools

Authentication

Check status, log in with browser or device code, log out

Users and org

Read your profile, search users, look up a manager or direct reports

People and contacts

Relevance-ranked people search, list, create, update, or delete Outlook contacts, list contact folders

Search

Search Teams messages, or search mail, calendar, files, and Teams together in one ranked query

Chats

List, get, or create chats, read, send, edit, or delete messages, react to messages, rename chats, manage members, mark read

Teams and channels

List teams, channels, and members, get a team or its primary channel, create channels, read, send, reply, edit, or delete channel messages, reach a channel's SharePoint folder

Calendar

List calendars and events, get, create, update, cancel, or delete events, recurrence, RSVP, free/busy, suggested meeting times, series occurrences, bookable rooms, shared calendars

Mail

List, read, search, or delta-sync mail, send, reply, or forward with drafts, bcc, importance, and attachments, move and archive, delete, mark read, flag, categorize, manage folders and inbox rules, mail tips, shared mailboxes

Mailbox settings

Read mailbox settings, set automatic replies, set time zone and working hours

Meetings

Resolve a meeting ID from a calendar event, join URL, or meeting chat, look a meeting up by join URL or the numeric invite ID, create or get online meetings with join links, attendance reports, transcripts and recordings

Presence

Read your own, another user's, or a whole team's presence, set availability or a status message, clear presence

Tasks

List To Do lists and tasks, create, update, complete, or delete tasks, list assigned Planner tasks

Files

Browse, search, or resolve links to OneDrive and SharePoint content, upload, download as text or base64 bytes, copy, move, delete, version, and share files, manage permissions, read recent and shared items, read and write Excel ranges

Related MCP server: outpost

Prerequisites

  • Node.js 22 or newer.

  • A Microsoft Entra ID app registration configured as a public client on the Mobile and desktop applications platform.

  • Redirect URI http://localhost:3000/auth/callback.

  • No client secret. Graph MCP uses delegated user authentication.

Add these exact delegated permissions to the app registration:

  • offline_access

  • openid

  • profile

  • User.Read

  • User.ReadBasic.All

  • User.Read.All

  • Chat.Read

  • Chat.ReadWrite

  • ChatMember.ReadWrite

  • ChatMessage.Send

  • ChannelMessage.Read.All

  • ChannelMessage.Send

  • ChannelMessage.ReadWrite

  • Channel.Create

  • TeamMember.Read.All

  • Team.ReadBasic.All

  • Channel.ReadBasic.All

  • ChannelMember.Read.All

  • Calendars.ReadWrite

  • Calendars.Read.Shared

  • Calendars.ReadWrite.Shared

  • Place.Read.All

  • Mail.Read

  • Mail.ReadWrite

  • Mail.Send

  • MailboxSettings.ReadWrite

  • Mail.ReadWrite.Shared

  • Mail.Send.Shared

  • Presence.Read

  • Presence.Read.All

  • Presence.ReadWrite

  • OnlineMeetings.Read

  • OnlineMeetings.ReadWrite

  • OnlineMeetingArtifact.Read.All

  • OnlineMeetingTranscript.Read.All

  • OnlineMeetingRecording.Read.All

  • Files.ReadWrite.All

  • Sites.Read.All

  • People.Read

  • Contacts.ReadWrite

  • Tasks.ReadWrite

Some organizations require administrator consent for one or more permissions. Use the least privilege your deployment needs and follow your organization's approval process.

Install

Claude Code plugin

This repository is itself a plugin marketplace, so Claude Code can install it straight from GitHub:

claude plugin marketplace add JustStas/Graph-MCP --scope user
claude plugin install graph-mcp@graph-mcp --scope user

The same thing works inside a Claude Code session with /plugin marketplace add JustStas/Graph-MCP followed by /plugin install graph-mcp@graph-mcp.

Claude clones the repository into its marketplace cache, validates .claude-plugin/marketplace.json, and installs the self-contained plugin under the plugin cache. The MCP server launches from the installed plugin bundle, so no source checkout is needed. To pick up a new release, re-run the two commands.

For plugin development, a local checkout can be added the same way by path instead of owner/repo:

claude plugin marketplace add /absolute/path/to/Graph-MCP --scope user
claude plugin install graph-mcp@graph-mcp --scope user

Codex plugin

Codex accepts the same GitHub marketplace source:

codex plugin marketplace add JustStas/Graph-MCP --json
codex plugin add graph-mcp@personal --json

codex plugin marketplace add takes a local path, owner/repo[@ref], or an HTTPS or SSH Git URL, and --ref pins a specific tag or branch. The Codex manifest launches ./dist/graph-mcp.js relative to the installed plugin root, so no source checkout is needed.

For plugin development, point it at a local checkout instead:

codex plugin marketplace add /absolute/path/to/Graph-MCP --json
codex plugin add graph-mcp@personal --json

npm

Install the public scoped package globally:

npm install --global @juststas/graph-mcp
graph-mcp setup

The npm package is scoped to JustStas, but the installed executable remains graph-mcp. Invoking graph-mcp without arguments starts the MCP server over stdio.

Source checkout

npm ci
npm run build
node dist/cli.js setup

Then register the built entrypoint with your host:

claude mcp add graph-mcp -- node /absolute/path/to/Graph-MCP/dist/cli.js
codex mcp add graph-mcp -- node /absolute/path/to/Graph-MCP/dist/cli.js

First-run setup and authentication

setup asks for the Entra application Client ID and Tenant ID and saves them to ~/.graph-mcp/config.json. The Client ID and Tenant ID are identifiers, not secrets. The setup command does not perform login.

For an installed plugin, use the bundled setup skill and its host-specific command:

  • Claude Code: node "${CLAUDE_PLUGIN_ROOT}/dist/graph-mcp.js" setup

  • Codex: resolve the installed plugin root from skills/setup/SKILL.md, change to that directory, then run node "./dist/graph-mcp.js" setup

After setup, call graph_auth_login. Browser PKCE login is the default and opens a local loopback callback on the configured redirect URI. If a browser or loopback callback is unavailable, call graph_auth_login with method: "device_code" and follow the returned Microsoft verification instructions.

Never paste a client secret, access token, refresh token, authorization code, MFA code, or other credentials into a conversation. Graph MCP does not need a client secret.

Configuration

For Client ID and Tenant ID, environment variables take precedence over ~/.graph-mcp/config.json, which takes precedence over built-in defaults. The setup command only persists those two identifiers. Other options are environment-only overrides of the built-in defaults.

Variable

Required

Default

Description

AZURE_CLIENT_ID

Yes

saved azureClientId, then empty

Entra public-client application ID

AZURE_TENANT_ID

No

saved azureTenantId, then common

Tenant ID or common

GRAPH_REDIRECT_URI

No

http://localhost:3000/auth/callback

Must exactly match the app registration

GRAPH_TOKEN_ENCRYPTION_KEY

No

generated local key

Explicit token-encryption key material

GRAPH_TOKEN_REFRESH_BUFFER

No

300

Refresh access tokens this many seconds before expiry

GRAPH_RATE_LIMIT_MAX_REQUESTS

No

10000

Sliding-window request limit

GRAPH_RATE_LIMIT_WINDOW

No

600

Sliding-window duration in seconds

GRAPH_DEBUG

No

false

Enable diagnostic logging on stderr

Positive integer options reject zero, negatives, decimals, and malformed values. Boolean values accept true, false, 1, 0, yes, no, on, or off.

Token storage and migration from Python

The Node server encrypts tokens with AES-256-GCM and stores them under ~/.graph-mcp:

  • tokens-v2.enc — encrypted token data

  • .key-v2 — generated local encryption key when no environment key is supplied

The previous Python runtime used tokens.enc and .key. Version 0.6.0 deliberately does not read, overwrite, or delete those legacy files because the ciphertext formats differ. After upgrading from the Python release, authenticate once with graph_auth_login; the Node server then creates its separate versioned token files. Existing Python token files remain untouched and may be removed later according to your local security policy.

Access tokens refresh automatically before expiry. graph_auth_logout clears the Node token state; it does not modify the legacy Python files.

Message and email formatting

The Teams message tools (graph_send_chat_message, graph_send_channel_message, and graph_reply_to_channel_message) and outbound mail tools (graph_send_mail and graph_reply_mail) default to HTML mode. When is_html=true, pass explicit HTML; Markdown is not converted automatically.

<p><strong>Status update</strong></p>
<ul>
  <li>Use <code>&lt;strong&gt;</code> for bold text.</li>
  <li>Use <code>&lt;pre&gt;&lt;code&gt;</code> for multi-line code blocks.</li>
</ul>

Use is_html=false for exact plain text. Mentions may use raw Graph data or this simplified shape, paired with the corresponding <at id="0">Jane Smith</at> tag in the HTML body:

[
  {
    "name": "Jane Smith",
    "user_id": "ef1c916a-3135-4417-ba27-8eb7bd084193"
  }
]

Development and verification

Install the locked dependencies and run the complete Node verification pipeline:

npm ci
npm run verify

Useful individual commands:

npm run format:check
npm run lint
npm run typecheck
npm test
npm run build
npm run validate:versions
npm run validate:package
npx vitest run tests/plugin-install-smoke.test.ts

Plugin and release validation:

claude plugin validate --strict plugins/graph-mcp
claude plugin validate --strict .
python3 "${CODEX_HOME:-$HOME/.codex}/skills/.system/plugin-creator/scripts/validate_plugin.py" plugins/graph-mcp
node scripts/test-plugin-install.mjs
npm pack --json --dry-run

The Codex validator is release tooling supplied by Codex's plugin-creator skill; Python is not required to build, test, or run Graph MCP itself. Before publishing, verify that package, Claude manifest, and Codex manifest versions match the target release, the committed plugin bundle is current, both installed plugins expose exactly 127 tools, and the working tree is clean.

Release procedure

Graph MCP releases use the public npm package @juststas/graph-mcp; there is no Python/PyPI release step. Version 0.6.0 completed the Node migration but was not published to npm because npm rejected the unscoped graph-mcp@0.6.0 name as too similar to the existing graphmcp package. Version 0.6.1 is the first scoped npm release.

Normal releases

  1. Update package.json, package-lock.json, both plugin manifests, runtime metadata, CHANGELOG.md, and the committed plugin bundle to one version.

  2. Run npm ci, npm run verify, node scripts/test-plugin-install.mjs, and npm pack --json --dry-run from a clean worktree.

  3. Merge the reviewed pull request to main. A repository administrator then creates the annotated v<version> tag on the merged commit through the mandatory release-tag authority ruleset; the separate no-bypass immutability ruleset blocks later update or deletion.

  4. Publish the matching GitHub Release. The workflow trigger is release: types: [published].

  5. The package job installs locked dependencies, runs npm run verify, and prepares the exact tarball without OIDC permission.

  6. The publish job runs in the npm GitHub environment and is the only job that receives OIDC permission. It downloads a data-only artifact containing the tarball and metadata, checks out its trusted helper at github.workflow_sha, binds the expected tag directly to the release event, validates npm's JSON dry-run manifest for the exact private snapshot, and uses npm Trusted Publishing. It has no NODE_AUTH_TOKEN or npm secret.

  7. Verify the workflow, npm version, dist.integrity, installed CLI version, and 127-tool MCP inventory.

Workflow reruns are idempotent. If the version already exists, the workflow succeeds only when npm's dist.integrity equals the prepared tarball. A different integrity fails and requires a new patch version.

First scoped-package bootstrap

npm requires a package to exist before Trusted Publishing can be configured. Bootstrap the first scoped release in this order:

  1. Verify merged main, then activate the administrator-authority v* ruleset.

  2. Audit the exact historical tag inventory and ancestry, require the exact allowlisted historical PyPI workflow blob where expected, and require the new release helper to be absent everywhere.

  3. Activate the separate no-bypass immutability ruleset.

  4. Create the annotated v0.6.1 tag only after those gates pass.

  5. Run publish.yml from main with prepare_only enabled and inspect its prepared artifact.

  6. Validate the exact filename, regular-file status, SHA-512 and SHA-1 digests, and npm's JSON dry-run manifest. Publish that same private snapshot once with the maintainer's interactive 2FA, explicit npmjs registry, latest tag, disabled lifecycle scripts, and public access; then verify its registry version and integrity.

  7. Reverify both release-tag rulesets.

  8. Create the npm GitHub environment.

  9. Add separate typed environment policies for branch main and tag v*.

  10. Verify both rulesets and both typed environment policies.

  11. Configure npm Trusted Publishing:

npx --yes npm@11.15.0 trust github @juststas/graph-mcp \
  --file publish.yml \
  --repo JustStas/Graph-MCP \
  --env npm \
  --allow-publish

Verify the saved repository, workflow filename, environment, and publish permission, then set npm publishing access to require 2FA and disallow traditional tokens.

The manual 0.6.1 bootstrap uses neither OIDC nor provenance, and its integrity-matched release workflow is a no-op that does not test the OIDC exchange. Version 0.6.2 is the first real OIDC publish and provenance check.

Recovery

Use workflow_dispatch from main with an existing protected tag to rerun publication. Use prepare_only when only the verified tarball is needed. The release-tag rulesets prohibit moving or deleting published v* tags. Never overwrite an npm version; recover from a bad publication with a new patch release.

Architecture and runtime behavior

Claude Code or Codex  --stdio-->  Graph MCP  --HTTPS-->  Microsoft Graph API
                                      |
                                ~/.graph-mcp/
                                  config.json
                                  tokens-v2.enc
                                  .key-v2
  • Authentication uses OAuth 2.0 Authorization Code with PKCE or device code.

  • Access-token refresh is serialized so concurrent Graph calls share one refresh.

  • Graph requests use bounded timeouts, sliding-window rate limiting, and exponential retry behavior that honors Retry-After on throttled responses.

  • MCP protocol output is written to stdout; diagnostics are written to stderr.

Troubleshooting

Approval required during login

Confirm that the exact delegated permissions above are present and that required administrator consent has been granted.

403 Forbidden for one tool

The endpoint may need a delegated permission or administrator consent not available to the signed-in user. Check the tool's permission and your organizational policy.

Browser callback is unavailable

Call graph_auth_login with method: "device_code" and complete sign-in at the Microsoft verification URL.

Configuration changed but the host still uses old values

Restart the MCP server or host so the process reloads config.json and its environment. Environment variables override saved Client ID and Tenant ID values.

Upgraded from the Python release and appear logged out

This is expected once. Run graph_auth_login; the Node runtime creates tokens-v2.enc and .key-v2 without changing the old tokens.enc and .key files.

Disclaimer

This project is an independent open-source effort and is not affiliated with, endorsed by, or sponsored by Microsoft Corporation. Microsoft, Microsoft Teams, Outlook, Microsoft 365, Microsoft Graph, and Azure are trademarks of the Microsoft group of companies.

This software is provided "as is", without warranty of any kind. Use it at your own risk. The authors accept no liability for damages, data loss, or security issues arising from its use. You are responsible for complying with your organization's policies and Microsoft's API Terms of Use.

This software accesses Microsoft services on your behalf using your own credentials and app registration. Data retrieved from Microsoft Graph (including mail, messages, calendar events, meetings, and files) is passed to the model that invoked the tool. Follow BP and your organization's data-handling, retention, and acceptable-use requirements when using cloud-hosted AI models.

License

MIT — see LICENSE.

Available Tools

127 tools
graph_add_chat_memberA

Add a user to a group chat.

Requires the delegated ChatMember.ReadWrite permission.

Args: chat_id: The chat ID. user_id: User ID or user principal name to add. share_history_from: ISO 8601 timestamp (e.g. "2026-07-14T12:00:00Z") to share chat history from. Empty shares no history.

Inputs: chat_id (required), user_id (required), share_history_from.

graph_add_mail_attachmentA

Attach a file to an existing draft message (max 3MB).

Args: message_id: The draft message ID (from graph_create_mail_draft). file_name: File name to show on the attachment. content_base64: File content encoded as base64. content_type: MIME type (default "application/octet-stream"). mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: file_name (required), message_id (required), content_base64 (required), mailbox, +1 more.

graph_auth_loginB

Log in to Microsoft 365. Opens a browser for OAuth2 authentication.

Inputs: method.

graph_auth_logoutA

Log out from Microsoft 365. Clears stored tokens.

Inputs: no named parameters.

graph_auth_statusA

Check Microsoft Graph authentication status. Attempts token refresh if needed.

Inputs: no named parameters.

graph_cancel_eventA

Cancel a meeting you organize and notify the attendees.

Unlike graph_delete_event, which removes the event without telling anyone, cancelling sends a cancellation notice to every attendee. Only the organizer can cancel a meeting; attendees should decline with graph_respond_to_event instead.

Args: event_id: The event ID to cancel. comment: Optional note to include in the cancellation notice. user: Shared or delegated calendar owner address or user ID to act on. Empty targets your own calendar. Requires the delegated Calendars.Read.Shared or Calendars.ReadWrite.Shared permissions.

Inputs: event_id (required), user, comment.

graph_categorize_mailA

Set the categories on messages, replacing the categories already set.

Each category must match the display name of a master category, so create it with graph_create_master_category first. Processes each message in order and reports per-message outcomes.

Args: message_ids: Message IDs to update (1-50 per call). categories: Category display names to apply. An empty list clears them. mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: categories (required), message_ids (required), mailbox.

graph_clear_my_presenceA

Clear your presence. This is how you undo graph_set_my_presence.

graph_set_my_presence sets a preferred presence, so pass preferred=true to undo it and let Teams calculate your availability again.

Args: preferred: Whether to clear the preferred presence set by graph_set_my_presence (default false clears only this app's session presence).

Inputs: preferred.

graph_copy_fileA

Copy a file or folder in OneDrive.

The copy is asynchronous: Graph returns 202 with a monitor URL rather than the finished item, so the new item may not exist yet when this call returns.

Args: item_id: The file or folder ID to copy. destination_folder_id: Destination folder ID. Empty to copy into the current parent. new_name: Name for the copy. Empty to keep the current name. drive_id: Drive ID to act on. Empty targets your own OneDrive.

Inputs: item_id (required), drive_id, new_name, destination_folder_id.

graph_create_channelA

Create a channel in a team.

Needs the Channel.Create permission.

Args: team_id: The team ID (from graph_list_teams). display_name: Name of the new channel. description: Optional channel description. membership_type: Channel type: "standard", "private", or "shared" (default "standard").

Inputs: team_id (required), display_name (required), description, membership_type.

graph_create_chatC

Create a new chat (one-on-one or group).

Inputs: members (required), chat_type (required), topic.

graph_create_contactB

Create an Outlook contact. Requires the Contacts.ReadWrite permission.

Empty fields are omitted from the created contact.

Args: given_name: First name of the contact. surname: Last name of the contact. email: Primary email address. mobile_phone: Mobile phone number. company_name: Company the contact works for. job_title: Job title of the contact.

Inputs: given_name (required), email, surname, job_title, +2 more.

graph_create_eventA

Create a new calendar event.

Args: subject: Event subject/title. start_datetime: Start time in ISO 8601 (e.g. "2025-03-01T10:00:00"). end_datetime: End time in ISO 8601 (e.g. "2025-03-01T11:00:00"). timezone: Timezone (default "UTC"). Examples: "Pacific Standard Time", "Europe/London". body: Optional event body/description. location: Optional location name. attendees: Optional list of required attendee email addresses. is_online_meeting: Whether to create a Teams online meeting (default false). is_html: Whether the body is HTML (default: plain text). is_all_day: Whether the event lasts all day (default false). Graph expects midnight start and end times for all-day events. show_as: Free/busy status: "free", "tentative", "busy", "oof", "workingElsewhere", or "unknown" (default "busy"). sensitivity: Sensitivity: "normal", "personal", "private", or "confidential" (default "normal"). reminder_minutes_before_start: Reminder lead time in minutes. Negative keeps the mailbox default (default -1). optional_attendees: Optional list of optional attendee email addresses. categories: Outlook category names to tag the event with. allow_new_time_proposals: Whether attendees may propose new times (default true). response_requested: Whether attendees are asked to respond (default true). repeat: Recurrence pattern: "none", "daily", "weekly", "monthly", or "yearly" (default "none"). repeat_interval: Interval between occurrences (default 1). repeat_days: Weekday names for weekly recurrence, e.g. ["monday", "thursday"]. Required when repeat is "weekly". repeat_until: Last date of the recurrence (YYYY-MM-DD). Mutually exclusive with repeat_count. repeat_count: Number of occurrences. Mutually exclusive with repeat_until. user: Shared or delegated calendar owner address or user ID to act on. Empty targets your own calendar. Requires the delegated Calendars.Read.Shared or Calendars.ReadWrite.Shared permissions.

Inputs: subject (required), end_datetime (required), start_datetime (required), body, +19 more.

graph_create_folderC

Create a folder in OneDrive.

Args: folder_name: Name of the new folder. parent_folder_id: Parent folder ID. Empty for the drive root.

Inputs: folder_name (required), parent_folder_id.

graph_create_mail_draftA

Create a draft email without sending it.

Use graph_add_mail_attachment to attach files to the draft and graph_send_mail_draft to send it.

Args: to: List of recipient email addresses. subject: Email subject. body: Email body content. When is_html is true, send explicit HTML; markdown is not converted. cc: Optional list of CC email addresses. bcc: Optional list of BCC email addresses. is_html: Whether the body is HTML content (default: True). Use false for plain text. importance: Message importance: "low", "normal", or "high" (default "normal"). reply_to: Optional list of addresses that replies should be sent to. mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: to (required), body (required), subject (required), cc, +5 more.

graph_create_mail_folderA

Create a mail folder.

Args: display_name: Name of the new folder. parent_folder_id: Parent folder ID. Empty creates a top-level folder. mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: display_name (required), mailbox, parent_folder_id.

graph_create_master_categoryA

Create a master category so it can be applied to mail and events.

The displayName is immutable after creation: to rename a category, delete it and create a new one. Colors are the presets preset0 through preset24.

Args: display_name: Name of the new category. color: Color preset, preset0 through preset24 (default "preset0"). mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: display_name (required), color, mailbox.

graph_create_message_ruleA

Create an inbox rule that Exchange runs on incoming mail.

At least one condition and at least one action are required; only the parts you supply are sent to Graph.

Args: display_name: Name of the rule. sequence: Order in which the rule runs, lowest first (default 1). from_addresses: Sender addresses the rule matches. subject_contains: Strings the subject must contain. body_contains: Strings the body must contain. move_to_folder: Destination folder ID for matching messages. mark_as_read: Whether matching messages are marked read (default false). delete_message: Whether matching messages move to Deleted Items (default false). is_enabled: Whether the rule is active (default true). stop_processing: Whether later rules are skipped once this rule matches (default false). mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: display_name (required), mailbox, sequence, is_enabled, +7 more.

graph_create_online_meetingA

Create a Teams online meeting and get its join link.

The joinWebUrl field in the response is the link to share. This creates a meeting without a calendar event; use graph_create_event with is_online_meeting for a meeting that also appears on calendars. Needs the OnlineMeetings.ReadWrite permission.

Args: subject: Meeting subject. start_datetime: Start time in ISO 8601 with an offset or Z (e.g. "2026-03-01T10:00:00Z"). end_datetime: End time in ISO 8601 with an offset or Z. attendees: Optional list of attendee email addresses or user IDs. allowed_presenters: Who can present: "everyone", "organization", "roleIsPresenter", or "organizer" (default "everyone").

Inputs: subject (required), end_datetime (required), start_datetime (required), attendees, +1 more.

graph_create_todo_taskA

Create a task in a Microsoft To Do list. Requires the Tasks.ReadWrite permission.

Empty fields are omitted from the created task.

Args: list_id: The task list ID (from graph_list_todo_lists). title: Task title. notes: Optional plain-text notes stored in the task body. due_datetime: Optional due date and time (ISO 8601, e.g. "2025-03-01T17:00:00"). timezone: Timezone for due_datetime and reminder_datetime (default "UTC"). importance: Task importance: "low", "normal", or "high" (default "normal"). reminder_datetime: Optional reminder date and time (ISO 8601).

Inputs: title (required), list_id (required), notes, timezone, +3 more.

graph_delete_channel_messageA

Soft-delete a channel message, or restore one you deleted.

Args: team_id: The team ID (from graph_list_teams). channel_id: The channel ID (from graph_list_channels). message_id: The message ID to delete (from graph_get_channel_messages). restore: Whether to restore a previously soft-deleted message (default false).

Inputs: team_id (required), channel_id (required), message_id (required), restore.

graph_delete_chat_messageA

Soft delete a chat message, or restore one with restore.

Graph only exposes this action under /users/{user_id}, so the user ID is required. There is no hard delete, so a deleted message stays recoverable.

Args: chat_id: The chat ID. message_id: The message ID to delete. user_id: The user ID that sent the message. restore: Whether to restore a previously deleted message (default false).

Inputs: chat_id (required), user_id (required), message_id (required), restore.

graph_delete_contactC

Delete an Outlook contact.

Args: contact_id: The contact ID to delete.

Inputs: contact_id (required).

graph_delete_eventB

Delete a calendar event.

Args: event_id: The event ID to delete. user: Shared or delegated calendar owner address or user ID to act on. Empty targets your own calendar. Requires the delegated Calendars.Read.Shared or Calendars.ReadWrite.Shared permissions.

Inputs: event_id (required), user.

graph_delete_fileB

Delete a file or folder from OneDrive.

The item is moved to the OneDrive recycle bin.

Args: item_id: The file or folder ID to delete.

Inputs: item_id (required).

graph_delete_file_permissionA

Revoke a sharing link or a person's access to a file or folder.

Args: item_id: The file or folder ID. permission_id: The permission ID (from graph_list_file_permissions). drive_id: Drive ID to act on. Empty targets your own OneDrive.

Inputs: item_id (required), permission_id (required), drive_id.

graph_delete_mailA

Delete messages. They are moved to Deleted Items, not erased.

Processes each message in order and reports per-message outcomes.

Args: message_ids: Message IDs to delete (1-50 per call). mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: message_ids (required), mailbox.

graph_delete_message_ruleA

Delete an inbox rule.

Args: rule_id: The rule ID (from graph_list_message_rules). mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: rule_id (required), mailbox.

graph_delete_todo_taskB

Delete a task from a Microsoft To Do list.

Args: list_id: The task list ID (from graph_list_todo_lists). task_id: The task ID to delete.

Inputs: list_id (required), task_id (required).

graph_find_meeting_timesA

Suggest meeting times that work for the attendees.

Graph scores candidate slots from the attendees' free/busy data, so use this to pick a time and graph_create_event to book it.

Args: attendees: Attendee email addresses to fit the meeting around. duration_minutes: Meeting length in minutes (default 30). start_datetime: Start of the search window (ISO 8601). Empty lets Graph choose. end_datetime: End of the search window (ISO 8601). Empty lets Graph choose. The window is only sent when both ends are supplied. timezone: Timezone for the search window (default "UTC"). minimum_attendee_percentage: Minimum percentage of attendees that must be free (default 100). max_candidates: Maximum number of suggestions to return (default 10). user: Shared or delegated calendar owner address or user ID to act on. Empty targets your own calendar. Requires the delegated Calendars.Read.Shared or Calendars.ReadWrite.Shared permissions.

Inputs: attendees (required), user, timezone, end_datetime, +4 more.

graph_flag_mailA

Set the follow-up flag on messages.

Processes each message in order and reports per-message outcomes.

Args: message_ids: Message IDs to update (1-50 per call). flag_status: Flag state: "notFlagged", "flagged", or "complete" (default "flagged"). mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: message_ids (required), mailbox, flag_status.

graph_forward_mailA

Forward an email to other recipients.

Args: message_id: The email message ID to forward. to: List of recipient email addresses. comment: Optional note to add above the forwarded message. When is_html is true, send explicit HTML; markdown is not converted. is_html: Whether the comment is HTML content (default: True). Use false for plain text. as_draft: Whether to leave the forward as an unsent draft (default false). Returns the created draft instead of a sent status. mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: to (required), message_id (required), comment, is_html, +2 more.

graph_get_channel_files_folderA

Get the SharePoint folder that stores a channel's files.

This is the bridge from a channel to its SharePoint folder. Pass the returned folder ID together with its 'parentReference.driveId' as drive_id to the OneDrive file tools, which need both to reach a drive other than your own. Needs the Files.Read.All permission.

Args: team_id: The team ID (from graph_list_teams). channel_id: The channel ID (from graph_list_channels). include_children: Whether to also list the folder contents (default false). When true the result is {"folder": ..., "children": [...]}. top: Maximum number of children to return (default 50, maximum 50).

Inputs: team_id (required), channel_id (required), top, include_children.

graph_get_channel_message_repliesA

Get replies to a channel message.

Messages carry full HTML bodies plus their attachments and mentions, so compact narrows them to the identifying fields. Without it no $select is sent and the response is unchanged.

Args: team_id: The team ID (from graph_list_teams). channel_id: The channel ID (from graph_list_channels). message_id: The message ID whose replies to return. top: Maximum number of replies to return (default 50, maximum 50). compact: Whether to return only the identifying fields instead of the full record (default false). Use it to page through large collections cheaply. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: team_id (required), channel_id (required), message_id (required), top, +3 more.

graph_get_channel_messagesA

Get messages from a channel.

Messages carry full HTML bodies plus their attachments and mentions, so compact narrows them to the identifying fields. Without it no $select is sent and the response is unchanged.

Args: team_id: The team ID (from graph_list_teams). channel_id: The channel ID (from graph_list_channels). top: Maximum number of messages to return (default 50, maximum 50). compact: Whether to return only the identifying fields instead of the full record (default false). Use it to page through large collections cheaply. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: team_id (required), channel_id (required), top, compact, +2 more.

graph_get_chatC

Get a single chat, including its members.

Args: chat_id: The chat ID.

Inputs: chat_id (required).

graph_get_chat_messagesA

Get messages from a specific chat.

Messages carry full HTML bodies plus their attachments and mentions, so compact narrows them to the identifying fields. Without it no $select is sent and the response is unchanged.

Args: chat_id: The chat ID. top: Maximum number of messages to return (default 50, maximum 50). compact: Whether to return only the identifying fields instead of the full record (default false). Use it to page through large collections cheaply. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: chat_id (required), top, compact, next_link, +1 more.

graph_get_eventA

Get full details of a specific calendar event.

Args: event_id: The event ID. body_type: Body format to request: "html" or "text" (default "html"). Use "text" to avoid pulling large HTML bodies into context. user: Shared or delegated calendar owner address or user ID to act on. Empty targets your own calendar. Requires the delegated Calendars.Read.Shared or Calendars.ReadWrite.Shared permissions.

Inputs: event_id (required), user, body_type.

graph_get_file_bytesA

Download a file as base64-encoded bytes (max 4MB).

Use this for a binary file when you cannot fetch the downloadUrl that graph_get_file_content hands back. The bytes are returned in the 'contentBytes' field. Larger files are rejected, so use the downloadUrl for those.

Args: file_id: The file ID (from graph_list_files or graph_search_files). drive_id: Drive ID to act on. Empty targets your own OneDrive.

Inputs: file_id (required), drive_id.

graph_get_file_contentA

Get the content of a file from OneDrive or a SharePoint document library.

For text-based files (txt, csv, json, etc.), returns the file content directly. For binary files (images, docx, pdf, etc.), returns a temporary download URL instead. Use graph_get_file_bytes when you have no way to fetch that URL yourself.

Args: file_id: The file ID (from graph_list_files or graph_search_files). drive_id: Drive ID to act on. Empty targets your own OneDrive.

Inputs: file_id (required), drive_id.

graph_get_mail_attachmentA

Get a specific email attachment including its content.

The attachment content is returned as base64-encoded data in the 'contentBytes' field. For large attachments, only metadata is practical.

Args: message_id: The email message ID. attachment_id: The attachment ID (from graph_list_mail_attachments). mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: message_id (required), attachment_id (required), mailbox.

graph_get_mailbox_settingsA

Get mailbox settings, including automatic replies, time zone, and working hours.

Args: user: Colleague's address or user ID whose settings to read. Empty targets your own mailbox. Reading someone else needs delegate rights on that mailbox plus the MailboxSettings.Read permission.

Inputs: user.

graph_get_mail_deltaA

List the changes in a mail folder since a previous delta token.

Call it once without delta_link to seed a token, then pass the returned delta_token to receive only what changed since, including read-state changes and removals. Graph tracks one folder at a time and rejects $search on a delta query, so page through the folder you care about.

Args: folder: Mail folder name or ID (default "inbox"). delta_link: Opaque delta token from a previous call. Empty starts a new sync of the folder. top: Maximum number of messages per page (default 50). mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: top, folder, mailbox, delta_link.

graph_get_mail_tipsA

Get mail tips for recipients. Use this to check whether someone is out of office.

Args: email_addresses: Recipient addresses to look up. options: Mail tips to request (default "automaticReplies", "mailboxFullStatus", "recipientScope"). Other values: customMailTip, deliveryRestriction, externalMemberCount, maxMessageSize, moderationStatus, totalMemberCount. mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: email_addresses (required), mailbox, options.

graph_get_managerA

Get a user's manager from the organization directory.

Reading someone else's manager requires the User.Read.All permission.

Args: user_id: User ID or email address. Empty targets the signed-in user.

Inputs: user_id.

graph_get_meeting_attendanceA

Get meeting attendance: who actually joined and for how long.

Without report_id this lists the available attendance reports. With report_id it returns that report expanded with per-attendee join and leave times, and the paging arguments do not apply. Needs the OnlineMeetingArtifact.Read.All permission, which requires admin consent.

Args: meeting_id: The online meeting ID, from graph_get_meeting_id or the id field of graph_list_online_meetings. report_id: Attendance report ID. Empty lists the available reports. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: meeting_id (required), next_link, report_id, include_next_link.

graph_get_meeting_idA

Resolve the online meeting ID that the other meeting tools require.

Takes a calendar event, a Teams join URL, or a meeting chat thread and returns the ID used by graph_get_online_meeting, graph_list_meeting_transcripts, graph_get_transcript_content, graph_list_meeting_recordings, graph_get_meeting_recording_url and graph_get_meeting_attendance. It prefers the join URL lookup Graph documents and, when that finds nothing, derives the ID from the meeting thread and organizer instead, so it still answers for meetings the lookup misses. The returned "source" says which route produced the ID.

Only meetings the signed-in user organized are reachable through the delegated meeting tools, whoever owns the calendar item.

Args: event_id: Calendar event ID to resolve. Empty to use join_url or thread_id. join_url: Teams meeting join URL to resolve. Empty to use event_id or thread_id. thread_id: Meeting chat thread ID such as "19:meeting_@thread.v2". Empty to use event_id or join_url. organizer_id: The organizer's Microsoft Entra object ID. Used only with thread_id; empty resolves the signed-in user.

Inputs: event_id, join_url, thread_id, organizer_id.

graph_get_meeting_recording_urlA

Get metadata and download URL for a meeting recording.

Returns recording metadata including a temporary download URL. The recording content itself is binary video and is not returned inline.

Args: meeting_id: The online meeting ID, from graph_get_meeting_id or the id field of graph_list_online_meetings. recording_id: The recording ID (from graph_list_meeting_recordings).

Inputs: meeting_id (required), recording_id (required).

graph_get_my_presenceB

Get the authenticated user's current presence status.

Inputs: no named parameters.

graph_get_online_meetingA

Get a single online meeting, including its join link and settings.

Args: meeting_id: The online meeting ID, from graph_get_meeting_id or the id field of graph_list_online_meetings.

Inputs: meeting_id (required).

graph_get_presences_by_user_idsA

Get presence for up to 650 users in one round trip.

Use this instead of calling graph_get_user_presence once per person. Needs the Presence.Read.All permission.

Args: user_ids: User IDs to look up (1-650 per call).

Inputs: user_ids (required).

graph_get_primary_channelA

Get a team's primary channel, the one named General.

Use this as a shortcut for the default channel instead of listing every channel in the team.

Args: team_id: The team ID (from graph_list_teams).

Inputs: team_id (required).

graph_get_profileB

Get the authenticated user's Microsoft 365 profile.

Inputs: no named parameters.

graph_get_scheduleA

Get free/busy availability for people or rooms.

Args: schedules: List of SMTP addresses (users or rooms) to look up. start_datetime: Start of the lookup window (ISO 8601, e.g. "2025-03-01T09:00:00"). end_datetime: End of the lookup window (ISO 8601). timezone: Timezone for the window (default "UTC"). availability_view_interval: Availability view interval in minutes (default 30). user: Shared or delegated calendar owner address or user ID to act on. Empty targets your own calendar. Requires the delegated Calendars.Read.Shared or Calendars.ReadWrite.Shared permissions.

Inputs: schedules (required), end_datetime (required), start_datetime (required), user, +2 more.

graph_get_teamB

Get a team's details, including whether it is archived.

Args: team_id: The team ID (from graph_list_teams).

Inputs: team_id (required).

graph_get_transcript_contentA

Get the text content of a meeting transcript.

Returns the transcript in VTT (Web Video Text Tracks) format, which includes timestamps and speaker attribution.

Args: meeting_id: The online meeting ID, from graph_get_meeting_id or the id field of graph_list_online_meetings. transcript_id: The transcript ID (from graph_list_meeting_transcripts).

Inputs: meeting_id (required), transcript_id (required).

graph_get_user_presenceC

Get another user's presence status.

Inputs: user_id (required).

graph_get_worksheet_rangeA

Read cell values from a worksheet range.

The response values array holds the cell values, one inner array per row. Excel workbook APIs need the Files.ReadWrite permission and only work on .xlsx files.

Args: item_id: The workbook file ID. worksheet: Worksheet ID or name. address: Range address (e.g. "A1:D10"). Empty reads the used range. drive_id: Drive ID to act on. Empty targets your own OneDrive.

Inputs: item_id (required), worksheet (required), address, drive_id.

graph_invite_to_fileB

Invite people to a file or folder by email.

Args: item_id: The file or folder ID to share. emails: Email addresses of the people to invite. role: Access to grant: "read" or "write" (default "read"). send_email: Whether Graph should email the invitation (default false). message: Optional message to include with the invitation. drive_id: Drive ID to act on. Empty targets your own OneDrive.

Inputs: emails (required), item_id (required), role, message, +2 more.

graph_list_calendarsA

List the authenticated user's calendars.

Args: skip: Number of items to skip before returning results (default 0). Graph returns at most 50 per call, so page by raising skip in steps of top. compact: Whether to return only the identifying fields instead of the full record (default false). Use it to page through large collections cheaply. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list). user: Shared or delegated calendar owner address or user ID to act on. Empty targets your own calendar. Requires the delegated Calendars.Read.Shared or Calendars.ReadWrite.Shared permissions.

Inputs: skip, user, compact, next_link, +1 more.

graph_list_channel_membersA

List members of a channel.

Args: team_id: The team ID (from graph_list_teams). channel_id: The channel ID (from graph_list_channels). next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: team_id (required), channel_id (required), next_link, include_next_link.

graph_list_channelsA

List channels in a team.

Args: team_id: The team ID (from graph_list_teams). next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: team_id (required), next_link, include_next_link.

graph_list_chat_membersB

List members of a chat.

Args: chat_id: The chat ID. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: chat_id (required), next_link, include_next_link.

graph_list_chatsA

List recent Microsoft Teams chats.

Args: top: Maximum number of chats to return (default 50, maximum 50). next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: top, next_link, include_next_link.

graph_list_contact_foldersA

List contact folders.

Use the returned folder IDs with graph_list_contacts.

Args: top: Maximum number of folders to return (default 25, maximum 50). skip: Number of items to skip before returning results (default 0). Graph returns at most 50 per call, so page by raising skip in steps of top. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: top, skip, next_link, include_next_link.

graph_list_contactsA

List the user's saved Outlook contacts.

Args: top: Maximum number of contacts to return (default 25, maximum 50). folder_id: Contact folder ID. Empty lists the default contacts folder. skip: Number of items to skip before returning results (default 0). Graph returns at most 50 per call, so page by raising skip in steps of top. compact: Whether to return only the identifying fields instead of the full record (default false). Use it to page through large collections cheaply. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: top, skip, compact, folder_id, +2 more.

graph_list_direct_reportsA

List the people who report directly to a user.

Reading someone else's direct reports requires the User.Read.All permission.

Args: user_id: User ID or email address. Empty targets the signed-in user. top: Maximum number of reports to return (default 50, maximum 50). skip: Number of items to skip before returning results (default 0). Graph returns at most 50 per call, so page by raising skip in steps of top. compact: Whether to return only the identifying fields instead of the full record (default false). Use it to page through large collections cheaply. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: top, skip, compact, user_id, +2 more.

graph_list_drivesA

List the drives the user can reach, including their OneDrive and followed document libraries.

Args: skip: Number of items to skip before returning results (default 0). Graph returns at most 50 per call, so page by raising skip in steps of top. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: skip, next_link, include_next_link.

graph_list_event_instancesA

List the occurrences of a recurring event in a date range.

Pass the series master event ID from graph_list_events, then use the returned occurrence IDs to update or cancel a single occurrence.

Args: event_id: The recurring series master event ID. start_datetime: Start of the occurrence window (ISO 8601). Required by Graph. end_datetime: End of the occurrence window (ISO 8601). Required by Graph. top: Maximum number of occurrences to return (default 50, maximum 50). skip: Number of items to skip before returning results (default 0). Graph returns at most 50 per call, so page by raising skip in steps of top. compact: Whether to return only the identifying fields instead of the full record (default false). Use it to page through large collections cheaply. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list). user: Shared or delegated calendar owner address or user ID to act on. Empty targets your own calendar. Requires the delegated Calendars.Read.Shared or Calendars.ReadWrite.Shared permissions.

Inputs: event_id (required), end_datetime (required), start_datetime (required), top, +5 more.

graph_list_eventsA

List calendar events. Uses calendarView for date ranges, /events otherwise.

Args: start_datetime: Start of date range (ISO 8601, e.g. "2025-01-01T00:00:00Z"). Required with end_datetime for date range queries. end_datetime: End of date range (ISO 8601). Required with start_datetime. calendar_id: Optional calendar ID. Defaults to primary calendar. top: Maximum number of events to return (default 50). skip: Number of items to skip before returning results (default 0). Graph returns at most 50 per call, so page by raising skip in steps of top. filter_query: Optional OData filter (e.g. "isCancelled eq false"). Only applied on the /events path, because calendarView does not accept arbitrary filters. A filter on a recipient or organizer-style property also drops the sort, which Graph refuses to combine with it. compact: Whether to return only the identifying fields instead of the full record (default false). Use it to page through large collections cheaply. body_type: Body format to request: "html" or "text" (default "html"). Use "text" to avoid pulling large HTML bodies into context. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list). user: Shared or delegated calendar owner address or user ID to act on. Empty targets your own calendar. Requires the delegated Calendars.Read.Shared or Calendars.ReadWrite.Shared permissions.

Inputs: top, skip, user, compact, +7 more.

graph_list_file_permissionsA

List who currently has access to a file or folder.

Args: item_id: The file or folder ID. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list). drive_id: Drive ID to act on. Empty targets your own OneDrive.

Inputs: item_id (required), drive_id, next_link, include_next_link.

graph_list_filesA

List files and folders in OneDrive or a SharePoint document library.

Args: folder_id: Folder ID to list contents of. Empty for root folder. top: Maximum number of items to return (default 25). compact: Whether to return only the identifying fields instead of the full record (default false). Use it to page through large collections cheaply. skip: Number of items to skip before returning results (default 0). Graph returns at most 50 per call, so page by raising skip in steps of top. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list). drive_id: Drive ID to act on. Empty targets your own OneDrive.

Inputs: top, skip, compact, drive_id, +3 more.

graph_list_file_versionsA

List the stored versions of a file.

Args: item_id: The file ID. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list). drive_id: Drive ID to act on. Empty targets your own OneDrive.

Inputs: item_id (required), drive_id, next_link, include_next_link.

graph_list_mailA

List emails from a mail folder.

Results are sorted newest first, except that the sort is dropped automatically when filter_query targets from/, sender/, toRecipients/ or ccRecipients/, because Graph cannot combine a sort with a filter on those properties.

Args: folder: Mail folder name or ID (default "inbox"). Common: inbox, sentitems, drafts, deleteditems, archive. top: Maximum number of emails to return per call (default 25, maximum 50). skip: Number of items to skip before returning results (default 0). Graph returns at most 50 per call, so page by raising skip in steps of top. filter_query: Optional OData filter (e.g. "isRead eq false"). Filtering on a sender or recipient drops the sort order, as described above. compact: Whether to return only the identifying fields instead of the full record (default false). Use it to page through large collections cheaply. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list). immutable_ids: Whether to ask Graph for immutable message IDs (default false). A message ID changes when the message is moved, so a stored ID stops working; an immutable ID survives the move. mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: top, skip, folder, compact, +5 more.

graph_list_mail_attachmentsB

List attachments on an email message.

Args: message_id: The email message ID. mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: message_id (required), mailbox.

graph_list_mail_foldersA

List mail folders, including their unread and total counts.

Use the returned folder IDs with graph_list_mail or graph_move_mail.

Args: parent_folder_id: Parent folder ID. Empty lists top-level folders. top: Maximum number of folders to return (default 25). skip: Number of items to skip before returning results (default 0). Graph returns at most 50 per call, so page by raising skip in steps of top. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list). mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: top, skip, mailbox, next_link, +2 more.

graph_list_master_categoriesA

List the master categories available for mail and events.

Args: mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: mailbox.

graph_list_meeting_recordingsA

List available recordings for an online meeting.

Args: meeting_id: The online meeting ID, from graph_get_meeting_id or the id field of graph_list_online_meetings. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: meeting_id (required), next_link, include_next_link.

graph_list_meeting_transcriptsA

List available transcripts for an online meeting.

Args: meeting_id: The online meeting ID, from graph_get_meeting_id or the id field of graph_list_online_meetings. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: meeting_id (required), next_link, include_next_link.

graph_list_message_rulesA

List the inbox rules, including their conditions, actions, and order.

Args: mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: mailbox.

graph_list_my_planner_tasksA

List Microsoft Planner tasks assigned to the user.

Planner tasks live on plans owned by Microsoft 365 groups, so this is separate from Microsoft To Do. Requires the Tasks.Read permission.

Args: top: Maximum number of tasks to return (default 25, maximum 50). skip: Number of items to skip before returning results (default 0). Graph returns at most 50 per call, so page by raising skip in steps of top. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: top, skip, next_link, include_next_link.

graph_list_online_meetingsA

Look up an online meeting by join URL or by the numeric meeting ID.

Microsoft Graph has no unfiltered list of online meetings, so exactly one of join_url or join_meeting_id is required; without one the request fails with "One of the required parameters to lookup meeting by QueryOptions is null or empty". Either lookup returns a collection holding at most one meeting. When you only have a calendar event or a meeting chat thread, call graph_get_meeting_id.

Args: join_url: Teams meeting join URL, passed exactly as Graph reports it in onlineMeeting.joinUrl. Empty to look up by join_meeting_id. join_meeting_id: The numeric meeting ID printed in the invite, with or without spaces (for example "359 232 213 325 013"). Empty to look up by join_url. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: join_url, next_link, join_meeting_id, include_next_link.

graph_list_recent_filesA

List what the user worked on recently across their OneDrive.

Args: top: Maximum number of items to return (default 25, maximum 50). skip: Number of items to skip before returning results (default 0). Graph returns at most 50 per call, so page by raising skip in steps of top. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: top, skip, next_link, include_next_link.

graph_list_roomsA

List bookable meeting rooms in the tenant.

Requires the delegated Place.Read.All permission. Use the returned email addresses with graph_get_schedule to check availability, or as attendees on graph_create_event to book a room.

Args: room_list: Room list email address to list rooms from. Empty lists every room in the tenant. top: Maximum number of rooms to return (default 50, maximum 50). skip: Number of items to skip before returning results (default 0). Graph returns at most 50 per call, so page by raising skip in steps of top. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: top, skip, next_link, room_list, +1 more.

graph_list_shared_filesA

List files other people have shared with the user.

Teams chat attachments do not show up here, so use graph_resolve_share_link on the attachment contentUrl instead. Only $top is passed because sharedWithMe does not support $select or $skip reliably, so page with next_link instead.

Args: top: Maximum number of items to return (default 25). next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: top, next_link, include_next_link.

graph_list_site_drivesA

List the document libraries of a SharePoint site.

Args: site_id: The SharePoint site ID (from graph_search_sites). skip: Number of items to skip before returning results (default 0). Graph returns at most 50 per call, so page by raising skip in steps of top. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: site_id (required), skip, next_link, include_next_link.

graph_list_team_membersA

List members of a team.

Needs the TeamMember.Read.All permission, which requires admin consent.

Args: team_id: The team ID (from graph_list_teams). top: Maximum number of members to return (default 50, maximum 50). next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: team_id (required), top, next_link, include_next_link.

graph_list_teamsA

List Microsoft Teams that the authenticated user has joined.

Args: next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: next_link, include_next_link.

graph_list_todo_listsA

List Microsoft To Do task lists.

Use the returned list IDs with the other To Do tools.

Args: top: Maximum number of lists to return (default 25, maximum 50). skip: Number of items to skip before returning results (default 0). Graph returns at most 50 per call, so page by raising skip in steps of top. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: top, skip, next_link, include_next_link.

graph_list_todo_tasksA

List tasks in a Microsoft To Do list.

Args: list_id: The task list ID (from graph_list_todo_lists). top: Maximum number of tasks to return (default 25, maximum 50). filter_query: Optional OData filter (e.g. "status eq 'completed'"). Replaces the default incomplete-only filter. include_completed: Whether to include completed tasks (default false). When false and no filter_query is given, only incomplete tasks are returned. skip: Number of items to skip before returning results (default 0). Graph returns at most 50 per call, so page by raising skip in steps of top. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: list_id (required), top, skip, next_link, +3 more.

graph_list_worksheetsA

List the worksheets in an Excel workbook.

Excel workbook APIs need the Files.ReadWrite permission and only work on .xlsx files.

Args: item_id: The workbook file ID. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list). drive_id: Drive ID to act on. Empty targets your own OneDrive.

Inputs: item_id (required), drive_id, next_link, include_next_link.

graph_mark_chat_readA

Mark a chat as read or unread for a user.

Args: chat_id: The chat ID. user_id: The user ID to mark the chat for. is_read: Whether the chat is read (default true). Use false to mark it unread.

Inputs: chat_id (required), user_id (required), is_read.

graph_mark_mail_readA

Mark messages as read or unread.

Processes each message in order and reports per-message outcomes.

Args: message_ids: Message IDs to update (1-50 per call). is_read: Whether the messages are read (default true). Use false to mark them unread. mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: message_ids (required), is_read, mailbox.

graph_move_fileA

Move and/or rename a file or folder in OneDrive.

At least one of new_parent_folder_id or new_name must be provided.

Args: item_id: The file or folder ID to move. new_parent_folder_id: Destination folder ID. Empty to keep the current parent. new_name: New name for the item. Empty to keep the current name.

Inputs: item_id (required), new_name, new_parent_folder_id.

graph_move_mailA

Move messages to a mail folder. Use this to archive mail.

Processes each message in order and reports per-message outcomes, so a partial failure still tells you what moved.

Args: message_ids: Message IDs to move (1-50 per call). destination_folder: Destination folder ID or well-known name (default "archive"). Common: archive, inbox, deleteditems, junkemail. mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: message_ids (required), mailbox, destination_folder.

graph_react_to_messageA

Set or remove an emoji reaction on a chat or channel message.

Supply either chat_id for a chat message or both team_id and channel_id for a channel message, never both.

Args: message_id: The message ID to react to. chat_id: Chat ID for a chat message. Empty when targeting a channel. team_id: Team ID for a channel message. Empty when targeting a chat. channel_id: Channel ID for a channel message. Empty when targeting a chat. reaction: Reaction type (default "like"). Common: like, heart, laugh, surprised, sad, angry. remove: Whether to remove the reaction instead of setting it (default false).

Inputs: message_id (required), remove, chat_id, team_id, +2 more.

graph_read_mailA

Read full details of a specific email.

Args: message_id: The email message ID. body_type: Body format to request: "html" or "text" (default "html"). Use "text" to avoid pulling large HTML bodies into context. immutable_ids: Whether to ask Graph for immutable message IDs (default false). A message ID changes when the message is moved, so a stored ID stops working; an immutable ID survives the move. mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: message_id (required), mailbox, body_type, immutable_ids.

graph_remove_chat_memberA

Remove a member from a group chat.

Requires the delegated ChatMember.ReadWrite permission.

Args: chat_id: The chat ID. membership_id: The membership ID (from graph_list_chat_members).

Inputs: chat_id (required), membership_id (required).

graph_reply_mailA

Reply to an email.

Args: message_id: The email message ID to reply to. body: The reply body content. When is_html is true, send explicit HTML; markdown is not converted. reply_all: Whether to reply to all recipients (default: reply to sender only). is_html: Whether to send the reply body as HTML content (default: True). Use false for plain text. as_draft: Whether to leave the reply as an unsent draft (default false). Returns the created draft instead of a sent status. mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: body (required), message_id (required), is_html, mailbox, +2 more.

graph_reply_to_channel_messageC

Reply to a channel message.

Inputs: message (required), team_id (required), channel_id (required), message_id (required), +2 more.

graph_respond_to_eventA

RSVP to a meeting invite.

Args: event_id: The event ID to respond to. response: Response type: "accept", "decline", or "tentative". comment: Optional comment to send with the response. send_response: Whether to send the response to the organizer (default true). user: Shared or delegated calendar owner address or user ID to act on. Empty targets your own calendar. Requires the delegated Calendars.Read.Shared or Calendars.ReadWrite.Shared permissions.

Inputs: event_id (required), response (required), user, comment, +1 more.

graph_restore_file_versionB

Restore a file to an earlier version.

Args: item_id: The file ID. version_id: The version ID (from graph_list_file_versions). drive_id: Drive ID to act on. Empty targets your own OneDrive.

Inputs: item_id (required), version_id (required), drive_id.

graph_search_allA

Search mail, calendar, files, and Teams in one relevance-ranked query.

Use this when you do not know where something lives. chatMessage cannot be combined with SharePoint entity types like site, list, listItem, drive, or driveItem, so search Teams messages separately.

Args: query: Search query string (KQL is supported). entity_types: Resource types to search (default ["message", "event", "driveItem"]). One or more of: message, event, driveItem, drive, site, list, listItem, chatMessage, person. size: Maximum number of hits to return (default 25, maximum 50). from: Number of hits to skip for paging (default 0). compact: Whether to flatten the response into one list of hits, each reduced to {id, rank, summary, resource_type, name_or_subject, web_url} (default false, which returns the full hitsContainers payload). id is the hitId, falling back to the resource id; name_or_subject is the resource subject, name, displayName or title; web_url is its webUrl or webLink; a field the hit does not carry is omitted.

Inputs: query (required), from, size, compact, +1 more.

graph_search_filesA

Search for files by name or content in OneDrive or a SharePoint document library.

Graph rejects $skip on the search function, so page with next_link instead.

Args: query: Search query string. top: Maximum number of results (default 25). compact: Whether to return only the identifying fields instead of the full record (default false). Use it to page through large collections cheaply. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list). drive_id: Drive ID to act on. Empty targets your own OneDrive.

Inputs: query (required), top, compact, drive_id, +2 more.

graph_search_mailA

Search emails by keyword.

Args: query: Search query string. top: Maximum number of results (default 25). folder: Mail folder name or ID to search (default "", the whole mailbox). Scope the search to a folder when the mailbox holds thousands of messages. compact: Whether to return only the identifying fields instead of the full record (default false). Use it to page through large collections cheaply. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list). immutable_ids: Whether to ask Graph for immutable message IDs (default false). A message ID changes when the message is moved, so a stored ID stops working; an immutable ID survives the move. mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: query (required), top, folder, compact, +4 more.

graph_search_messagesC

Search messages across Teams chats and channels.

Inputs: query (required), top.

graph_search_peopleA

Search people the user works with, ranked by relevance.

Covers colleagues, saved contacts, and external people the user has mailed, so prefer this over graph_search_users when looking someone up by name. $search on /me/people only works for the signed-in user, and Graph does not support $skip alongside it, so page with next_link instead of an offset. Requires the People.Read permission.

Args: query: Name, email address, or partial text to look up. top: Maximum number of people to return (default 10, maximum 50). compact: Whether to return only the identifying fields instead of the full record (default false). Use it to page through large collections cheaply. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: query (required), top, compact, next_link, +1 more.

graph_search_sitesA

Search SharePoint sites by keyword.

Needs the Sites.Read.All permission, which requires admin consent. Listing every site without a search term is application-only, so a query is always sent.

Args: query: Search query string. top: Maximum number of results (default 25, maximum 50).

Inputs: query (required), top.

graph_search_usersA

Search for users in the organization directory by name or email.

Graph does not support $skip alongside $search on /users, so page with next_link instead of an offset.

Args: query: Name or email address to look up. top: Maximum number of users to return (default 10, maximum 25). compact: Whether to return only the identifying fields instead of the full record (default false). Use it to page through large collections cheaply. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).

Inputs: query (required), top, compact, next_link, +1 more.

graph_send_channel_messageC

Send a message to a channel.

Inputs: message (required), team_id (required), channel_id (required), is_html, +1 more.

graph_send_chat_messageB

Send a message to a chat.

Args: chat_id: The chat ID. message: Message body. When is_html is true, send explicit HTML; markdown is not converted. is_html: Whether the body is HTML content (default: True). Use false for plain text. mentions: Optional mentions. Each entry accepts raw Graph mention fields or a simplified shape with name/display_name and user_id. importance: Message importance: "normal", "high", or "urgent" (default "normal"). subject: Optional subject line. Empty omits it.

Inputs: chat_id (required), message (required), is_html, subject, +2 more.

graph_send_mailA

Send an email.

A non-empty mailbox posts to /users/{mailbox}/sendMail, so the message is sent as that shared mailbox and needs the delegated Mail.Send.Shared permission.

Args: to: List of recipient email addresses. subject: Email subject. body: Email body content. When is_html is true, send explicit HTML; markdown is not converted. cc: Optional list of CC email addresses. bcc: Optional list of BCC email addresses. is_html: Whether to send the email body as HTML content (default: True). Use false for plain text. importance: Message importance: "low", "normal", or "high" (default "normal"). reply_to: Optional list of addresses that replies should be sent to. save_to_sent_items: Whether to keep a copy in Sent Items (default true). mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: to (required), body (required), subject (required), cc, +6 more.

graph_send_mail_draftA

Send an existing draft message.

Args: message_id: The draft message ID (from graph_create_mail_draft). mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.

Inputs: message_id (required), mailbox.

graph_set_automatic_repliesA

Set or clear the automatic reply (out of office) message.

Args: status: "disabled", "alwaysEnabled", or "scheduled". Scheduled requires start_datetime and end_datetime. internal_message: Reply sent to people inside the organization. When is_html is true, send explicit HTML; markdown is not converted. external_message: Reply sent to people outside the organization. Empty reuses internal_message. external_audience: Who outside the organization receives a reply: "none", "contactsOnly", or "all" (default "none"). start_datetime: Scheduled window start (ISO 8601, e.g. "2025-03-01T09:00:00"). end_datetime: Scheduled window end (ISO 8601). timezone: Timezone for the scheduled window (default "UTC"). is_html: Whether the messages are HTML content (default: True). Use false for plain text.

Inputs: status (required), is_html, timezone, end_datetime, +4 more.

graph_set_my_presenceC

Set the authenticated user's presence status.

Inputs: activity (required), availability (required), expiration_duration.

graph_set_status_messageA

Set your Teams status message, the note shown under your name.

This is separate from availability, which graph_set_my_presence controls.

Args: message: The status message text. expiry_datetime: Optional expiry in ISO 8601 (e.g. "2026-03-01T17:00:00"). Empty means the message does not expire. timezone: Timezone for expiry_datetime (default "UTC").

Inputs: message (required), timezone, expiry_datetime.

graph_share_fileB

Create a sharing link for a OneDrive file.

Args: file_id: The file ID to share. share_type: Permission type: "view", "edit", or "embed" (default "view"). scope: Share scope: "anonymous", "organization", or "users" (default "organization").

Inputs: file_id (required), scope, share_type.

graph_update_channel_messageA

Edit a channel message you posted.

Only your own messages can be edited; editing anyone else's message fails.

Args: team_id: The team ID (from graph_list_teams). channel_id: The channel ID (from graph_list_channels). message_id: The message ID to edit (from graph_get_channel_messages). message: Replacement message content. When is_html is true, send explicit HTML; markdown is not converted. is_html: Whether the message is HTML content (default: True). Use false for plain text.

Inputs: message (required), team_id (required), channel_id (required), message_id (required), +1 more.

graph_update_chat_messageA

Edit the body of a chat message.

You can only edit messages you sent.

Args: chat_id: The chat ID. message_id: The message ID to edit. message: New message body. When is_html is true, send explicit HTML; markdown is not converted. is_html: Whether the body is HTML content (default: True). Use false for plain text.

Inputs: chat_id (required), message (required), message_id (required), is_html.

graph_update_chat_topicA

Rename a chat by setting its topic.

Only group chats have a topic; Graph rejects this for one-on-one chats.

Args: chat_id: The chat ID. topic: New topic for the chat.

Inputs: topic (required), chat_id (required).

graph_update_contactB

Update an Outlook contact. Only the supplied fields are changed.

Args: contact_id: The contact ID to update. given_name: New first name. surname: New last name. email: New primary email address. mobile_phone: New mobile phone number. company_name: New company name. job_title: New job title.

Inputs: contact_id (required), email, surname, job_title, +3 more.

graph_update_eventA

Update an existing calendar event. Only provided fields are updated.

Args: event_id: The event ID to update. subject: New subject/title. start_datetime: New start time (ISO 8601). Requires timezone. end_datetime: New end time (ISO 8601). Requires timezone. timezone: Timezone for start/end times. body: New body/description. location: New location name. attendees: New list of required attendee email addresses. is_html: Whether the body is HTML (default: plain text). is_all_day: Whether the event lasts all day (default false). Graph expects midnight start and end times for all-day events. show_as: Free/busy status: "free", "tentative", "busy", "oof", "workingElsewhere", or "unknown" (default "busy"). sensitivity: Sensitivity: "normal", "personal", "private", or "confidential" (default "normal"). reminder_minutes_before_start: Reminder lead time in minutes. Negative leaves the reminder unchanged (default -1). optional_attendees: New list of optional attendee email addresses, merged with attendees. categories: Outlook category names to tag the event with. allow_new_time_proposals: Whether attendees may propose new times (default true). response_requested: Whether attendees are asked to respond (default true). user: Shared or delegated calendar owner address or user ID to act on. Empty targets your own calendar. Requires the delegated Calendars.Read.Shared or Calendars.ReadWrite.Shared permissions.

Inputs: event_id (required), body, user, is_html, +14 more.

graph_update_mailbox_settingsA

Update the mailbox time zone and working hours.

Only the parts you supply are sent, so the rest of the mailbox settings stay as they are. This always targets your own mailbox: Graph exposes no shared variant of mailbox settings.

Args: time_zone: Mailbox time zone name (e.g. "Pacific Standard Time"). working_days: Working days, lowercase (e.g. ["monday", "tuesday"]). working_hours_start: Start of the working day (e.g. "09:00:00"). working_hours_end: End of the working day (e.g. "17:00:00"). working_hours_timezone: Time zone name for the working hours.

Inputs: time_zone, working_days, working_hours_end, working_hours_start, +1 more.

graph_update_todo_taskA

Update a task in a Microsoft To Do list. Only the supplied fields are changed.

Complete a task by setting status to "completed".

Args: list_id: The task list ID (from graph_list_todo_lists). task_id: The task ID to update. title: New task title. notes: New plain-text notes for the task body. due_datetime: New due date and time (ISO 8601). timezone: Timezone for due_datetime (default "UTC"). status: New status: "notStarted", "inProgress", "completed", "waitingOnOthers", or "deferred". Empty leaves the status unchanged. importance: New importance: "low", "normal", or "high". Empty leaves the importance unchanged.

Inputs: list_id (required), task_id (required), notes, title, +4 more.

graph_update_worksheet_rangeA

Write cell values to a worksheet range.

Excel workbook APIs need the Files.ReadWrite permission and only work on .xlsx files.

Args: item_id: The workbook file ID. worksheet: Worksheet ID or name. address: Range address to write (e.g. "A1:D10"). Its shape must match values. values: Cell values as a 2D array, one inner array per row. Cells may be strings, numbers, booleans, or null. drive_id: Drive ID to act on. Empty targets your own OneDrive.

Inputs: values (required), address (required), item_id (required), worksheet (required), +1 more.

graph_upload_fileB

Upload a small file to OneDrive (max 4MB).

Args: file_path: Destination path in OneDrive (e.g. "Documents/report.txt"). content_base64: File content encoded as base64 string.

Inputs: file_path (required), content_base64 (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 127 tools

    Disambiguation4/5

    Most tools map to distinct resource/action pairs across mail, calendar, Teams, files, contacts, To Do, presence, and auth. A few boundaries are fuzzy, especially graph_search_people vs graph_search_users, graph_search_messages vs graph_search_all, and graph_get_file_content vs graph_get_file_bytes, but descriptions generally clarify the intended choices.

    Naming Consistency5/5

    The naming is highly consistent: every tool uses the graph_ prefix followed by a snake_case verb_noun pattern. Variants like graph_get_my_presence vs graph_get_user_presence are still predictable and readable.

    Tool Count1/5

    127 tools is far beyond a practical single-server tool surface, even for a broad Microsoft Graph integration. The count creates substantial selection and maintenance overhead, and most related operations could be grouped or gated behind higher-level workflows.

    Completeness4/5

    The surface covers core mail, calendar, Teams, file, contact, To Do, Planner read, user, and presence workflows quite thoroughly. Some lifecycle gaps remain, such as team/channel creation or deletion beyond messages, Planner task writes, and create/delete operations for To Do lists and contact folders.

    Related MCP Connectors

    Related MCP Servers