ask_books
Search your D&D rulebooks using natural language questions to find character options, spells, and game mechanics across indexed PDF and Markdown sources.
Instructions
Ask a natural language question across all your rulebooks.
Uses keyword expansion with D&D concept synonyms and TF-IDF scoring to find relevant content across all indexed PDF and Markdown sources.
Examples: - "What options do I have for a melee spellcaster?" - "Find a class good for a dragon-themed character" - "What healing spells are available?" - "Show me tanky fighter options" - "Classes with nature magic"
Args: query: Natural language question or search query limit: Maximum number of results to return (default: 10)
Returns: Formatted search results grouped by source
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "ask_books"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language question about your rulebooks | |
| limit | No | Maximum number of results to return |