search_rules
Search across all loaded D&D 5e rulebooks to find spells, classes, races, monsters, feats, and items. Filter results by category or class to quickly locate specific game mechanics and content.
Instructions
Search for rules content across all loaded rulebooks.
Works without a campaign loaded (uses global rulebook manager). When a campaign is active, its rulebook manager takes priority.
Examples: - search_rules(query="fire", category="spell") - Find spells with 'fire' in name - search_rules(class_filter="ranger", category="spell") - All ranger spells - search_rules(query="cure", class_filter="ranger", category="spell") - Ranger spells with 'cure' in name
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search term (name, partial match). Can be empty if class_filter is provided. | |
| category | No | Filter by category. Default: all | all |
| limit | No | Max results | |
| class_filter | No | Filter spells by class (e.g., 'ranger', 'wizard'). Only applies to spell category. |