# veryfront__upsert_file_chunks

Upsert file chunks. Requires project.knowledge.write.

Risk: mutating.

## Arguments

| Name                | Type   | Required | Description                                                                 |
| ------------------- | ------ | -------- | --------------------------------------------------------------------------- |
| `project_reference` | string |          | Project identifier or slug that scopes the tool call.                       |
| `branch_name`       | string | Yes      | Branch whose copy of the file is chunked.                                   |
| `file_path`         | string | Yes      | Project-relative path of the chunked file.                                  |
| `chunks`            | array  | Yes      | Replacement batch of 1 to 500 chunks; each content string must be nonempty. |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__upsert_file_chunks",
    "arguments": {
      "branch_name": "<branch_name>",
      "file_path": "<file_path>",
      "chunks": "<chunks>"
    }
  }
}
```
