veryfront__search_files

Search files by vector. Requires project.knowledge.read.

Risk: read_only.

Arguments

NameTypeRequiredDescription
project_referencestringProject ID or slug whose indexed file chunks should be searched.
modelobjectAI model id or alias. Call list_models for the ids this deployment serves; never invent a version suffix.
query_vectorarrayYesEmbedding vector for the search query, generated with a compatible embedding model.
dimensionstringYesEmbedding dimension that matches the supplied query vector.
modestringSearch mode. Only SEMANTIC (the default) is supported; KEYWORD and HYBRID are refused.
environmentstringIndex to search: the preview branch, the production deployment or a release.
branch_idPreview branch ID to search. Use null for the main branch.
release_idstringRelease ID to search instead of the current branch or mainline index.
release_versionstringRelease version to search when you do not have the release ID.
limitnumberMaximum number of ranked chunk matches to return, as an integer from 1 to 100.
cursorstringOpaque pagination cursor from a previous response.
optionsobjectSearch options. Tool results carry no embedding vectors, so include_embeddings has no effect here. Non-empty folders or file_types are refused: the search does not filter by them yet.

Call it

JSON
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__search_files",    "arguments": {      "query_vector": "<query_vector>",      "dimension": "<dimension>"    }  }}