search
Find relevant information from a knowledge base using natural language queries. Returns content chunks with source and graph context including author, repo, and related documents.
Instructions
Semantic search across the knowledge base. Returns relevant chunks with source info and graph context (author, repo, related docs).
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 |
|---|---|---|---|
| query | Yes | Natural language search query | |
| top_k | No | Number of results | |
| source_type | No | Filter by source type | |
| use_graph | No | Include graph context (author, repo relationships) |