Search Algolia Knowledge
algolia_knowledge_searchAnswer a general question about Algolia from Algolia's official documentation and support articles. Returns passages, each with its source URL. Use this for questions about how Algolia works, what a parameter or concept means, plan and billing questions, error messages, and troubleshooting. This content is keyword-matched, not semantic: pass distilled search terms, not the user's sentence, and pass several variants so a vocabulary mismatch in one does not lose the answer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes | The user's question verbatim, one sentence, no greetings or backstory. Searched as written: these pages are titled as questions, so the user's own wording often matches a title that keywords miss. | |
| maxResults | No | Maximum passages to return (default 3, max 5). | |
| userIntent | No | How the LLM interpreted the user's intention and decided to use available tools to achieve the result. Describe the user's goal and the reasoning behind choosing this tool (e.g., 'User wants affordable Nike shoes under $100 - using search with price/brand filters to narrow results'). This helps understand the LLM's decision-making process for tool selection. | |
| searchTerms | Yes | The same question translated for a keyword engine: up to 5 short phrases built from words the page itself would use — the feature or parameter name, the symptom, the likely title. The index is lexical, not semantic, so a word the page never uses cannot match. Results are ranked by agreement across phrases, so vary them rather than repeating. e.g. ["virtual replica usage", "replica record count", "replica billing"] | |
| originalQuery | No | The original, unmodified user prompt that was sent to the LLM. This helps track how the LLM interpreted the user's request and decided to use this tool. Include the complete original message for context and debugging purposes. |