> This page is for Agent Handler.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.merge.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.merge.dev/_mcp/server.

# Microsoft Teams GCC High

**Authentication:** OAuth or access token. See [Magic Link](/merge-agent-handler/features/magic-link) for the runtime auth flow, or [Application credentials](/merge-agent-handler/admin-setup/add-oauth-credentials) to bring your own OAuth app.

## Sample use cases

* Summarize the `Operations` channel from the last 24 hours.
* Post the daily status update to the `Daily Brief` channel.
* Find channels with no activity in the last 90 days.

## Available Tools

#### reply\_to\_message

Reply to a specific message in a Teams channel to create threaded conversations.

#### get\_message\_replies

Retrieve all replies to a specific message to follow threaded conversations. Useful for understanding discussion...

#### check\_channel\_type

Check if a channel is private or standard. Returns channel permissions and member management availability.

#### list\_private\_channels

List only the private channels in a team.

#### list\_channels

List all channels in a Microsoft Team.

#### create\_channel

Create a new channel within a Team for focused discussions.

#### get\_channel\_info

Get detailed information about a Teams channel including description, settings, and metadata. Useful for understanding...

#### update\_channel

Update channel settings such as name, description, or moderation settings.

#### delete\_channel

Permanently delete a channel from a Team. Exercise caution - this removes all channel messages and files. Typically...

#### list\_team\_files

List all files stored in a Team's SharePoint drive.

#### delete\_team\_file

Remove files from a Team's drive to clean up outdated content, free up storage, or remove sensitive information...

#### create\_meeting

Create a new Teams meeting with attendees and schedule it in calendars. Includes automatic Teams integration for online...

#### list\_meetings

List upcoming meetings and calendar events for the current user.

#### get\_meeting\_details

Get detailed information about a specific meeting including attendees, Teams link, and agenda.

#### update\_meeting

Update an existing meeting's details such as time, attendees, or description.

#### cancel\_meeting

Cancel a scheduled meeting and notify all attendees. Use this to remove meetings that are no longer needed or when...

#### get\_free\_busy\_schedule

Check availability and free/busy times for users to find meeting time slots.

#### list\_team\_members

List all members of a Microsoft Team with their roles and status.

#### add\_team\_member

Add a new member to a Microsoft Team with specified roles and permissions.

#### get\_team\_member

Get detailed information about a specific team member including their role, permissions, and profile.

#### update\_team\_member

Update a team member's role or permissions within the team.

#### remove\_team\_member

Remove a member from a Microsoft Team to revoke their access to team resources.

#### list\_channel\_messages

Retrieve message history from a Teams channel. Includes \_is\_from\_me flag to distinguish your messages from others. Date...

#### send\_channel\_message

Send a message to a Teams channel.

Requires team\_id and channel\_id. Use get\_team\_primary\_channel to get the General...

#### get\_channel\_message

Get detailed information about a specific message including sender, timestamp, and full content. Includes \_is\_from\_me...

#### search\_teams

Search for Teams by name or description to quickly find relevant workspaces. Supports discovering teams to join and...

#### get\_team\_primary\_channel

Get information about a Team's default 'General' channel where main discussions occur. Essential for accessing the...

#### list\_channel\_members

List all members with access to a specific channel, especially useful for private channels. Supports managing channel...

#### add\_channel\_member

Add a user to a private channel for selective access control. Note: This operation is only supported for private...

#### remove\_channel\_member

Remove a user from a private channel while maintaining their team membership. Note: This operation is only supported...

#### list\_teams

List all Microsoft Teams that the user is a member of. Returns all teams - no filtering options available due to API...

#### create\_team

Create a new Microsoft Team for collaboration. Use to set up project workspaces and organize team communication.

#### get\_team\_info

Get detailed information about a specific Microsoft Team including settings, member count, and metadata. Useful for...

#### update\_team

Update team properties and settings including display name, description, member permissions, guest settings, messaging...

#### delete\_team

Permanently delete a Microsoft Team. Exercise caution - this removes all team data, channels, and files. Typically used...

#### list\_meeting\_transcripts

List available transcripts for a meeting with metadata (IDs, timestamps, URLs). Accepts event or meeting ID.

#### get\_transcript\_content

Get transcript content in VTT format with speaker names and timestamps. Accepts event or meeting ID.

#### search\_users

Search for users in the organization by name, email, or display name. Use to find people to add to teams, start chats...

#### get\_user\_presence

Get a user's presence status (available, busy, away, offline).

#### send\_chat\_message

Send a direct private message to a user outside of channels. Returns shareable webUrl link to the sent...

#### add\_message\_reaction

Add an emoji reaction to a message in a Teams channel.

#### search\_messages

Search for messages across teams and channels using keywords. Returns full message content with \_is\_from\_me flag to...

#### get\_user\_info

Get detailed information about a specific user including profile, contact info, and organizational details. Requires a...

#### check\_user\_availability

Check if a user is likely available by looking at their recent activity and profile information. Alternative to...

#### list\_direct\_chats

List all direct chats and group chats the user is part of. Includes unread message detection via chatViewpoint.

FAST...

#### read\_direct\_chat\_messages

Read messages from a specific direct chat or group chat. Returns conversation history with timestamps, senders, and...

#### list\_all\_my\_messages

Get messages from Teams channels and DMs. Use my\_messages\_only=True for personal message search (prioritizes DMs), or...