get_last_message
Fetch the last message from any Teams contact, group, or channel using a partial name, returning the author, timestamp, and text.
Instructions
PRIMARY TOOL to read the single latest message from a specific person, group, or channel in Teams. Supports partial names (e.g. 'Alice Smith', 'Bob', 'Project Alpha'). Automatically matches the chat and returns only the author, timestamp, and text. NEVER call list_teams_chats first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_name | Yes | Name or partial name of the contact, group, or channel in Teams (e.g. 'Alice Smith', 'John Doe', 'Project Alpha'). |