find_in_recent_history
Search recent channel history locally using term, phrase, or regex matching. Use when Discord's built-in search indexing is delayed or you need a bounded recent search.
Instructions
Scan recent channel history locally. Useful when native Discord search indexing is delayed or a bounded recent search is needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | No | Discord guild/server ID. Uses DISCORD_DEFAULT_GUILD_ID when omitted. | |
| query | Yes | ||
| match_mode | No | all_terms | |
| case_sensitive | No | ||
| channel_ids | No | ||
| channel_name_query | No | ||
| include_threads | No | ||
| max_channels | No | ||
| messages_per_channel | No | ||
| before_message_id | No | ||
| limit | No |