discord_search_messages
Search recent messages in a Discord channel by keyword. Uses case-insensitive substring matching on up to the last 100 messages. Returns matching messages with details.
Instructions
Keyword search over a channel's recent messages using case-insensitive substring matching. Scans only up to the last 100 messages — it does not search full history. Returns { matches: [...] } with id, author, content, timestamp. Use discord_read_messages to fetch recent messages without filtering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max number of recent messages to scan (1–100). Default 100. | |
| keyword | Yes | Case-insensitive substring to match within message content. | |
| channel_id | Yes | ID (snowflake) of the channel or thread to search. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matches | Yes |