semantic_search
Search for nodes in a codebase knowledge graph by substring matching of node names. Supports filtering by domain and limiting results.
Instructions
Substring search across knowledge-graph node names (case-insensitive).
NOTE: despite the name, embedding-based semantic ranking is not wired yet (RFD-63). This currently matches substrings of node names — results are plain matches, not similarity-ranked. Use recall for broader retrieval.
Example: semantic_search(query="auth token", top_k=5, domain="devops")
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": "semantic_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language search query | |
| top_k | No | Maximum number of results to return (default: 10) | |
| domain | No | Filter results to a specific domain |