knowledge_search
Search knowledge files with semantic similarity and filter results by directory, tags, or metadata to find relevant content.
Instructions
Search knowledge base with semantic similarity and filters.
Searches across .md, .py, and .ipynb files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query text | |
| directory | No | Knowledge base name or path (None = search all registered KBs) | |
| tags | No | Filter by tags (e.g., ["#backtest", "#strategy"]) - AND logic | |
| metadata_filters | No | Filter by metadata (e.g., {"sharpe > 1.5": None, "file_type": "py"}) | |
| limit | No | Maximum results to return (default: 10) | |
| threshold | No | Minimum similarity score 0-1 (default: 0.5) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |