veryfront__upsert_file_chunk_embeddings
Requires project.knowledge.write.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Can change resources.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_reference | string | No | Project identifier or slug that scopes the tool call. |
chunk_ids | string[] | Yes | Chunk IDs to upsert embeddings for. |
vectors | number[][] | Yes | Embedding vectors aligned by index with chunk_ids. |
model | object | Yes | Embedding model that produced these vectors. Not an agent chat model; model listings omit it. |
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__upsert_file_chunk_embeddings",7 "arguments": {8 "chunk_ids": [],9 "vectors": [],10 "model": {11 "name": "example",12 "provider": "example",13 "dimension": 014 }15 }16 }17}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
embeddings | object[] | Yes | Embeddings that were created or updated. |
created | number | Yes | Number of embeddings created. |
updated | number | Yes | Number of embeddings updated. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "description": "Project identifier or slug that scopes the tool call."7 },8 "chunk_ids": {9 "type": "array",10 "items": {11 "type": "string",12 "format": "uuid",13 "description": "One chunk id item supplied to the tool."14 },15 "maxItems": 100,16 "description": "Chunk IDs to upsert embeddings for."17 },18 "vectors": {19 "type": "array",20 "items": {21 "type": "array",22 "items": {23 "type": "number",24 "description": "One item item supplied to the tool."25 },26 "maxItems": 4096,27 "description": "One vector item supplied to the tool."28 },29 "maxItems": 100,30 "description": "Embedding vectors aligned by index with `chunk_ids`."31 },32 "model": {33 "type": "object",34 "properties": {35 "name": {36 "type": "string",37 "minLength": 1,38 "description": "Model name, for example `text-embedding-3-small`."39 },40 "provider": {41 "type": "string",42 "minLength": 1,43 "description": "Provider name, for example `openai`."44 },45 "dimension": {46 "type": "number",47 "description": "Embedding vector dimension: 768, 1024, 1536, 3072, or 4096. Every vector must have this length."48 }49 },50 "required": [51 "name",52 "provider",53 "dimension"54 ],55 "additionalProperties": false,56 "description": "Embedding model that produced these vectors. Not an agent chat model; model listings omit it."57 }58 },59 "required": [60 "chunk_ids",61 "vectors",62 "model"63 ],64 "additionalProperties": false,65 "description": "Arguments for the upsert_file_chunk_embeddings tool.",66 "$schema": "http://json-schema.org/draft-07/schema#"67}output-schema.json
1{2 "type": "object",3 "properties": {4 "embeddings": {5 "type": "array",6 "items": {7 "type": "object",8 "properties": {9 "id": {10 "type": "string",11 "description": "Embedding ID."12 },13 "model": {14 "type": "string",15 "description": "Embedding model name used to create the vector."16 },17 "status": {18 "type": "string",19 "enum": [20 "ready",21 "stale",22 "missing"23 ],24 "description": "Embedding lifecycle status."25 },26 "created_at": {27 "type": "string",28 "description": "Embedding creation timestamp in ISO 8601 format."29 }30 },31 "required": [32 "id",33 "model",34 "status",35 "created_at"36 ],37 "additionalProperties": false38 },39 "description": "Embeddings that were created or updated."40 },41 "created": {42 "type": "number",43 "description": "Number of embeddings created."44 },45 "updated": {46 "type": "number",47 "description": "Number of embeddings updated."48 }49 },50 "required": [51 "embeddings",52 "created",53 "updated"54 ],55 "additionalProperties": false,56 "description": "Structured result returned by the upsert_file_chunk_embeddings tool.",57 "$schema": "http://json-schema.org/draft-07/schema#"58}