search_knowledge_graph
Search a knowledge graph using natural language or exact terms to find entities and relationships. Use semantic search for conceptual queries or basic matching for precise results.
Instructions
Search the knowledge graph using semantic or basic search
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repository_path | Yes | The absolute path to the repository to search within | |
| query | Yes | The search query text. Can be natural language for semantic search or specific terms for exact matching | |
| entity_types | No | Optional array of entity types to filter the search results. If not provided, all entity types will be searched | |
| relationship_types | No | Optional array of relationship types to filter relationships in the results. If not provided, all relationship types will be included | |
| use_semantic_search | No | Whether to use semantic vector search (true) or basic text matching (false). Semantic search is more powerful for finding conceptually related entities | |
| include_relationships | No | Whether to include relationships between entities in the search results. Set to false for faster queries when only entities are needed | |
| limit | No | Maximum number of results to return (1-100) | |
| threshold | No | Similarity threshold for semantic search results (0.0 to 1.0, where 1.0 requires exact matches) |