Semantic Search
semantic_searchFind passages by meaning rather than exact words. Use for conceptual queries like 'find passages about X' to retrieve relevant documents with similarity scores.
Instructions
Find passages by meaning rather than exact words, using embeddings over the project, and return the most relevant documents with similarity scores and related entities. Use this for conceptual "find passages about X" queries; use search for keyword/full-text matching and find_mentions to locate every occurrence of a specific name or term. Calls an external embedding model. Requires an open project with semantic indexing available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query: keywords for full-text search, or a natural-language phrase for semantic search, depending on the tool. | |
| threshold | No | Minimum similarity score (0-1) a result must meet to be returned. Default 0.5; raise for stricter matches, lower for broader recall. | |
| maxResults | No | Maximum number of results to return. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | Documents most relevant to the query, ordered by similarity. | |
| searchType | No | Search mode used; always 'semantic' for this tool. |