Skip to main content

Overview

Microsoft Teams tools let you list teams, channels, chats, channel messages, and chat messages, add members to teams, private or shared channels, and group chats, send messages to channels or chats (DMs), reply to channel threads, create channels, and create one-on-one or group chats through Microsoft Graph.

Key Features

  • TEAMS_LIST_TEAMS
    • Get a list of teams the user has joined.
  • TEAMS_LIST_CHANNELS
    • Get a list of channels in a team.
  • TEAMS_LIST_CHANNEL_MESSAGES
    • Get messages posted in a channel, optionally including thread replies.
  • TEAMS_LIST_CHATS
    • Get a list of chats the signed-in user participates in.
  • TEAMS_LIST_CHAT_MESSAGES
    • Get messages posted in a one-on-one or group chat.
  • TEAMS_ADD_CHANNEL_MEMBER
    • Add a user to a private or shared channel as a member or owner.
  • TEAMS_ADD_TEAM_MEMBER
    • Add a user to a team as a member or owner. Use this for standard (public) channels, which inherit team membership.
  • TEAMS_ADD_CHAT_MEMBER
    • Add a user to an existing group chat, optionally sharing prior history.
  • TEAMS_SEND_MESSAGE
    • Send messages to Teams channels (plain text or HTML format).
  • TEAMS_REPLY_TO_MESSAGE
    • Reply to a Teams channel message thread.
  • TEAMS_CREATE_CHANNEL
    • Create new channels within a team (public or private).
  • TEAMS_CREATE_CHAT
    • Create a new 1-on-1 or group chat. The signed-in user is added automatically.
  • TEAMS_SEND_CHAT_MESSAGE
    • Send a message to a Teams chat (DM). Supports plain text and HTML.

Authentication

These tools require a Microsoft Graph OAuth token. Go to the Jinba secrets dashboard and connect a Microsoft account for Teams. Use the generated token in the tool config. The Teams OAuth connection requests Microsoft Graph scopes for channel messages, chat messages, channels, channel membership, team membership, chat membership, teams, sending messages, and token refresh. Existing Teams secrets created before these scopes were added must be reconnected. Adding team members (TeamMember.ReadWrite.All) or chat members (ChatMember.ReadWrite) may require tenant admin consent.

Example: List Teams, Create a Private Channel, Add a Member, and Send Message

Example: Create a 1-on-1 Chat and Send a DM