get_chat_messages
Retrieve recent messages from a Microsoft Teams chat by providing the chat ID. Adjust the count of returned messages with the optional top parameter.
Instructions
Get recent messages from a Teams chat
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": {
"chatId": "<chatId>"
},
"name": "get_chat_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Number of messages to return (default: 20) | |
| chatId | Yes | The ID of the chat |