teams_chat_messages
Get messages from a Teams chat (1:1 or group) by providing the chat ID. Specify the number of messages to retrieve.
Instructions
Read messages from a Teams chat (1:1 or group).
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": "teams_chat_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Chat ID (from teams_chats) | |
| top | No | Maximum number of messages to return |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |