discord_search_messages
Find messages by keyword in a Discord channel. Scans recent messages for case-insensitive substring matches and returns results as JSON.
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. |