search_spells
Find D&D 5E spells by name, level, magic school, or other criteria to support gameplay decisions and character building.
Instructions
Search for D&D 5E spells with advanced filtering options
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_spells"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search query for spell names (optional) | |
| level | No | Filter by spell level (0-9) | |
| school | No | Filter by magic school (e.g., evocation, necromancy) | |
| limit | No | Maximum number of results to return | |
| ordering | No | Sort results by field (name, level, -level for descending) |