search_best_practices
Retrieve best practices for code patterns and recommendations by searching across all guides or within a specific guide using natural language queries.
Instructions
Semantic search for best practices across all guides or within a specific guide.
Use this tool when:
The user asks a conceptual question: "How to hash passwords?"
You need to find code patterns or recommendations
You want to deep dive into a specific guide (provide guide_id)
IMPORTANT: Always formulate queries in English for optimal search quality, even if the user's question is in another language.
Args: query: Natural language search query in English. Be specific and descriptive. guide_id: Optional guide ID to search within (e.g., 'python/django-security'). If provided, searches only within this guide (returns top 3 sections). If not provided, searches across all guides (returns top 5 results). namespace: Filter by technology (e.g., 'python', 'go'). Ignored if guide_id is set.
Returns: Relevant chunks with content and source information
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| guide_id | No | ||
| namespace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||