ask
Search across all your knowledge with a single natural language question
Search across all your knowledge — documents, memories, conversations, and insights — with a single natural language question. Returns structured results with citations. This is the recommended entry point for querying Textrawl.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
question | string | REQUIRED | - | Natural language question to search your knowledge base (1-10000 chars) |
scope | enum | OPTIONAL | auto | Which sources to search: auto, documents, memory, conversations, insights |
limit | number | OPTIONAL | 10 | Maximum results per source (1-50) |
Example Request
Auto Scope (Default)
Scoped to Documents
Scoped to Memory
Response
Results are truncated: document content to 500 characters, conversation summaries to 300 characters.
Error Responses
| Error | Cause | Fix |
|---|---|---|
Database not configured | Missing Supabase credentials | Set SUPABASE_URL and SUPABASE_SERVICE_KEY |
Embedding provider not configured | Missing embedding API key | Set OPENAI_API_KEY, configure Ollama, or set GOOGLE_AI_API_KEY |
Failed to search knowledge base | Database or embedding error | Check connectivity and logs |
Notes
- This tool is read-only and idempotent — it does not modify any data.
- When
scopeis set toauto, Textrawl searches all enabled sources automatically (documents, plus memory, conversations, and insights if their respective feature flags are enabled). It does not rank or limit to a smaller subset. - Results include citations back to the original source, making it easy to verify or dive deeper.
- For more control over search weights and filtering, use the
searchtool directly.
Related Tools
search- Advanced hybrid search with weight tuning and filtersquery_memory- Search entity memories directlyquery_conversations- Search past conversations directlyget_insights- View discovered insights