discord_search_messages
Search recent messages in a Discord channel by keyword using case-insensitive substring matching. Returns matching messages from the last 100 scanned messages.
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 matching messages as a JSON array. Use discord_read_messages to fetch recent messages without filtering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | ID (snowflake) of the channel or thread to search. | |
| keyword | Yes | Case-insensitive substring to match within message content. | |
| limit | No | Max number of recent messages to scan (1–100). Default 100. |