search
Hybrid search across code, markdown, or text chunks using vector and full-text retrieval. Filter results by source type.
Instructions
Hybrid search (vector + full-text + RRF) across all chunks.
Args: query: Natural language query. k: Number of results (max 50). source_type: Optional filter: "code", "markdown", or "text".
Returns: List of search results with text, source, score, and metadata.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| query | Yes | ||
| source_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |