# veryfront__publish_project_files

Publish the files. Requires project.files.write.

Risk: mutating.

## Arguments

| Name                  | Type   | Required | Description                                                                                              |
| --------------------- | ------ | -------- | -------------------------------------------------------------------------------------------------------- |
| `project_reference`   | string |          | Project ID or slug. Requires project.files.write.                                                        |
| `file_references`     | array  |          | File paths or UUIDs. Omit to commit all pending changes; \[] commits none.                               |
| `branch_reference`    | string |          | Branch name or UUID. Omit for main.                                                                      |
| `expected_version_id` | string |          | Expected persisted version UUID; requires exactly one selected file.                                     |
| `expected_versions`   | object |          | Map from file paths or UUIDs to their expected persisted version UUIDs. Conflicting guards are rejected. |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__publish_project_files",
    "arguments": {}
  }
}
```
