get_stylus_context
Retrieve Stylus documentation and code examples from the knowledge base to support development with version-aware search capabilities.
Instructions
Retrieve relevant Stylus documentation and code examples from the knowledge base. Use this to find examples, patterns, and documentation for Stylus development. Supports version-aware search to prioritize results matching your SDK version.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query (concept, function name, or code pattern). Include specific technical terms for best results. | |
| n_results | No | Number of results to return (1-20, default: 5) | |
| content_type | No | Filter by content type (default: all) | all |
| rerank | No | Whether to apply advanced reranking with BM25 and metadata boosting (default: true, recommended) | |
| target_version | No | Target stylus-sdk version to prioritize results for. Results matching this version are boosted. |