Summary
The Teams integration currently supports only channel messages via /teams/{id}/channels/{id}/messages. Direct messages (1:1 chats) and group chats use a separate Graph API endpoint (/me/chats) that is not yet implemented.
Current Behavior
teams_messages only reads from team channels. There is no way to list, read, or send 1:1 or group chat messages.
Proposed Change
Add support for the Chat API:
/me/chats — list all chats (1:1, group, meeting)
/me/chats/{id}/messages — read messages in a chat
/me/chats/{id}/messages (POST) — send a message to a chat
New tools / commands
teams_chats / outpost teams chats — list recent chats
teams_chat_messages / outpost teams chat-messages <chat-id> — read messages from a chat
teams_chat_send / outpost teams chat-send <chat-id> --body "..." — send a message to a chat
Additional scopes required
Chat.Read or Chat.ReadWrite
ChatMessage.Read or ChatMessage.Send
These should be added to the Teams FEATURE_SCOPES group since they require the same opt-in consent flow.
Graph API Reference
Summary
The Teams integration currently supports only channel messages via
/teams/{id}/channels/{id}/messages. Direct messages (1:1 chats) and group chats use a separate Graph API endpoint (/me/chats) that is not yet implemented.Current Behavior
teams_messagesonly reads from team channels. There is no way to list, read, or send 1:1 or group chat messages.Proposed Change
Add support for the Chat API:
/me/chats— list all chats (1:1, group, meeting)/me/chats/{id}/messages— read messages in a chat/me/chats/{id}/messages(POST) — send a message to a chatNew tools / commands
teams_chats/outpost teams chats— list recent chatsteams_chat_messages/outpost teams chat-messages <chat-id>— read messages from a chatteams_chat_send/outpost teams chat-send <chat-id> --body "..."— send a message to a chatAdditional scopes required
Chat.ReadorChat.ReadWriteChatMessage.ReadorChatMessage.SendThese should be added to the Teams
FEATURE_SCOPESgroup since they require the same opt-in consent flow.Graph API Reference