Semantic Search
semantic_searchFind passages by meaning rather than exact words across your Scrivener project. Use conceptual queries to locate relevant documents with similarity scores and related entities.
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 | ||
| 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 |