teams_get_channel_messages
Fetch recent messages from a specified Teams channel and time window so on-call engineers can review conversations without checking multiple dashboards.
Instructions
Fetch recent messages from a Teams channel. (demo mode)
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": "teams_get_channel_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | ||
| team_id | Yes | ||
| channel_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |