list_chat_messages
Retrieve Microsoft Teams chat messages newest first. Provide a chat ID, set limit, and paginate with a token. Optionally include full message bodies and attachment payloads.
Instructions
List messages in a chat, newest first.
Args: chat_id: Graph chat id (from list_chats). limit: 1-100. Default 25. page_token: Continuation token from a previous result. include_body: When True, include each message's full body and any attachment card payloads (e.g. Adaptive Card JSON for bot posts). Default False (snippet only; card text still feeds the snippet). include_raw: Include the raw Graph payload under "raw" on each item.
Returns: {"items": [trimmed_chat_message, ...], "next_page_token": str | None}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| chat_id | Yes | ||
| page_token | No | ||
| include_raw | No | ||
| include_body | No |