List channel messages
list_channel_messagesRead recent top-level messages in a Microsoft Teams channel and get compact summaries with sender, timestamp, and link, for monitoring conversations.
Instructions
List the top-level messages in a channel, most recent first. Returns compact summaries (id, from, created, body, webUrl). Use list_message_replies for a message's thread.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"team_id": "<team_id>",
"channel_id": "<channel_id>"
},
"name": "list_channel_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum messages (capped by TEAMS_MAX_RESULTS) | |
| team_id | Yes | Team id (from list_teams) | |
| channel_id | Yes | Channel id (from list_channels) |