Read Teams Channel Messages
list_channel_messagesRetrieve recent messages from a Microsoft Teams channel to review conversations, with options to limit the number of results or fetch all pages.
Instructions
List recent messages in a channel
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 | Number of messages (default: 25) | |
| team_id | Yes | Team ID | |
| channel_id | Yes | Channel ID | |
| fetch_all_pages | No | Fetch all pages of results (max 50 pages) |