m365_teams_messages
Retrieves messages from a specified Microsoft Teams chat, newest first, with sender, timestamp, and content type; requires a chat ID from the chats listing.
Instructions
Read messages from one Teams chat, newest first, with sender, timestamp and content type. Each body is limited to 2,000 characters and may contain incomplete HTML; this is not guaranteed to be the full history. Get chatId from m365_teams_chats. Use m365_teams_send to post a message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum total messages to return across internal pages, not page size | |
| chatId | Yes | Chat ID (from m365_teams_chats) |