kb_search
Find relevant knowledge base documents using semantic search, with optional filtering by type and expansion to include related graph neighbors.
Instructions
Semantic search over the knowledge base.
Searches markdown documents with YAML frontmatter. Understands Russian and English. Use expand_graph=true to include knowledge graph neighbors (structurally related docs).
Args: query: Search query (e.g. "privacy architecture", "API design patterns") n_results: Number of results (default 5) doc_type: Filter by type (depends on your KB schema) expand_graph: Expand results with knowledge graph neighbors (1-hop)
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": "kb_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| doc_type | No | ||
| n_results | No | ||
| expand_graph | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |