Search the knowledge base with semantic and hybrid modes
$ARGUMENTS
If the rag-mcp MCP server is configured, use these tools:
| Tool | Best For | Speed |
|---|---|---|
smart_query | Default (90% of queries), auto-routing | 2-4s |
hybrid_search_kb | Raw vector + text search | <1s |
get_document | Full document content | <1s |
crag_search | Vague queries (Corrective RAG) | 1-3s |
multi_hop_search | Complex multi-step reasoning | 20-30s |
# Primary search
smart_query("your search query", limit=10)
# Full document retrieval
get_document(path="kb/reference/architecture.md")
If MCP tools are unavailable, use built-in tools:
# Search file contents
Grep: pattern="your query" path="kb/"
# Search file names
Glob: pattern="kb/**/*.md"
# Read specific document
Read: "kb/reference/architecture.md"
[PATH: kb/reference/doc.md]/search rate limiting configuration
/search how to deploy to production
/search database migration patterns