query_knowledge_graph
Search a knowledge graph using various strategies—semantic, keyword, hybrid—to answer questions from indexed data.
Instructions
Search the knowledge graph for information using various strategies. Ideal for answering questions based on indexed data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The question or search query to execute against the knowledge base | |
| search_mode | No | Search strategy to use: 'mix' (recommended for comprehensive results), 'semantic' (vector search), 'keyword' (exact match), 'global' (broad context), 'hybrid' (semantic + keyword), 'local' (specific context), 'naive' (simple) | mix |
| limit | No | Maximum number of result items/paragraphs to retrieve | |
| context_only | No | If True, returns only the raw context data without LLM generation | |
| prompt_only | No | If True, returns only the constructed LLM prompt without executing it to the LLM |