List chat messages
list_chat_messagesList messages from a specified Teams chat, showing the most recent first with compact summaries for quick review.
Instructions
List the messages in a 1:1 or group chat, most recent first. Returns compact summaries.
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": {
"chat_id": "<chat_id>"
},
"name": "list_chat_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum messages (capped by TEAMS_MAX_RESULTS) | |
| chat_id | Yes | Chat id (from list_chats) |