list_channel_messages
Retrieve recent top-level messages from a Microsoft Teams channel, excluding replies and system messages. Supports limit up to 200, ordered by latest activity.
Instructions
List recent top-level messages in a Teams channel.
Use list_teams -> list_channels to get team_id and channel_id. Replies are not
included - read a thread with list_thread_replies. Returns up to limit (1-200)
messages, the threads with the latest activity first (a new reply moves its thread
up); there is no cursor for older ones. Each message has id, sender, timestamp and
plain-text content, plus attachments, hostedContents (inline image ids for
download_attachment) and mention entities when present. System messages are
excluded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| team_id | Yes | ||
| channel_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |