Upsert embeddings. Requires project.knowledge.write.
Arguments
project_referencestringProject identifier or slug that scopes the tool call.
chunk_idsarray of string · uuidrequiredChunk IDs to upsert embeddings for.
vectorsarray of array of numberrequiredEmbedding vectors aligned by index with
chunk_ids.modelobjectrequiredEmbedding model that produced these vectors. Not an agent chat model; model listings omit it.
Responses
curl -X POST -N "https://api.veryfront.com/mcp" \ -H "Authorization: Bearer $VERYFRONT_API_KEY" \ -H "Accept: application/json, text/event-stream" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "veryfront__upsert_file_chunk_embeddings", "arguments": { "chunk_ids": [], "vectors": [], "model": { "name": "string", "provider": "string", "dimension": 0 } } }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"embeddings\":[{\"id\":\"string\",\"model\":\"string\",\"status\":\"ready\",\"created_at\":\"string\"}],\"created\":0,\"updated\":0}" } ], "structuredContent": { "embeddings": [ { "id": "string", "model": "string", "status": "ready", "created_at": "string" } ], "created": 0, "updated": 0 } }}The tool ran; its output is result.structuredContent.