list_chat_messages
Retrieve recent messages from a Microsoft Teams chat using its ID. Optionally specify the number of messages to fetch.
Instructions
List recent messages in a 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": {
"chat_id": "<chat_id>"
},
"name": "list_chat_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Number of messages to fetch (default 20) | |
| chat_id | Yes | The ID of the chat |