Upsert file chunk embeddings

Upsert embeddings. Requires project.knowledge.write.

Arguments

  • project_referencestring

    Project identifier or slug that scopes the tool call.

  • chunk_idsarray of string · uuidrequired

    Chunk IDs to upsert embeddings for.

  • vectorsarray of array of numberrequired

    Embedding vectors aligned by index with chunk_ids.

  • modelobjectrequired

    Embedding 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.