Vector Search AnythingLLM Workspace
vector_search_workspaceRun raw vector similarity search against a workspace's embedded chunks without LLM generation. Retrieve the most relevant chunks by semantic query, with optional topN and score threshold.
Instructions
Run raw vector similarity search against embedded chunks in a workspace without LLM generation (POST /api/v1/workspace/:slug/vector-search).
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": "vector_search_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Unique workspace slug to search. | |
| topN | No | Maximum number of vector chunks to return (default: workspace topN or 4). | |
| query | Yes | Semantic search query text. | |
| scoreThreshold | No | Minimum similarity score between 0 and 1 (default: workspace similarityThreshold or 0.25). |