# veryfront__upsert_file_chunk_embeddings

Upsert embeddings. Requires project.knowledge.write.

Risk: mutating.

## Arguments

| Name                | Type   | Required | Description                                                                                   |
| ------------------- | ------ | -------- | --------------------------------------------------------------------------------------------- |
| `project_reference` | string |          | Project identifier or slug that scopes the tool call.                                         |
| `chunk_ids`         | array  | Yes      | Chunk IDs to upsert embeddings for.                                                           |
| `vectors`           | array  | 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. |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__upsert_file_chunk_embeddings",
    "arguments": {
      "chunk_ids": "<chunk_ids>",
      "vectors": "<vectors>",
      "model": "<model>"
    }
  }
}
```
