get_channel_messages
Retrieve recent messages from a Microsoft Teams channel to monitor conversations or fetch updates.
Instructions
Get recent messages from a Teams 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": {
"teamId": "<teamId>",
"channelId": "<channelId>"
},
"name": "get_channel_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| teamId | Yes | Team ID | |
| channelId | Yes | Channel ID | |
| maxResults | No | Maximum results (default: 50, max: 50) |