Read channel messages
teams_list_channel_messagesRetrieve the most recent messages from a specified Microsoft Teams channel. Get details like sender, timestamp, content, and link in JSON or Markdown.
Instructions
Read recent top-level messages from a team channel, newest first.
Args:
team_id (string): the team ID
channel_id (string): the channel ID (from teams_list_channels)
limit (number, 1-50): max messages (default 20)
response_format ('markdown' | 'json'): output format (default markdown)
Returns: JSON { count, messages: [{ id, from, createdDateTime, text, webUrl }] }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of items to return (1-50) | |
| team_id | Yes | The Microsoft Teams team (group) ID. Get it from teams_list_joined_teams. | |
| channel_id | Yes | The channel ID (e.g. '19:...@thread.tacv2'). Get it from teams_list_channels. | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |