teams_messages
Fetch messages from a Microsoft Teams channel by providing team and channel IDs, with an option to limit the number of messages.
Instructions
Read 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": {
"team_id": "<team_id>",
"channel_id": "<channel_id>"
},
"name": "teams_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team_id | Yes | Team ID | |
| channel_id | Yes | Channel ID | |
| top | No | Maximum number of messages to return |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |