discord_read_messages
Retrieve the most recent messages from a Discord text channel or thread. Returns a JSON array including author, content, timestamp, and attachment count.
Instructions
Read the most recent messages from a text channel or thread, oldest-to-newest. Returns a JSON array of messages (id, author, content, timestamp, attachment count, pinned flag). Use discord_search_messages to filter by keyword, or discord_fetch_pinned_messages for pinned messages only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | ID (snowflake) of the channel or thread to read from. | |
| limit | No | How many recent messages to fetch (1–100). Default 20. |