Vector search a workspace
rag_searchSemantically search a workspace's embedded docs to retrieve relevant chunks with scores. Provide query and workspace slug, adjust threshold for results.
Instructions
Semantic search over a workspace's embedded docs. No LLM generation. Default scoreThreshold 0.2 (the native embedder scores low). Returns matching chunks with scores.
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": {
"slug": "<slug>",
"query": "<query>"
},
"name": "rag_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Workspace slug (from rag_find) | |
| topN | No | ||
| query | Yes | ||
| scoreThreshold | No |