get_last_messages
Fetch the most recent messages from a specified Teams chat by name and count. Get conversation history directly without needing to list all chats first.
Instructions
Reads the last N messages from a specific Teams chat. Use this ONLY when the user asks for multiple recent messages or recent conversation history. NEVER call list_teams_chats first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of recent messages to return (default: 3, max: 20). | |
| chat_name | Yes | Name or partial name of the contact or group in Teams. |