# veryfront__update_eval

Change fields of a structured eval, such as its name, target, dataset or metrics, where an omitted field keeps its value; returns the updated eval source document. Requires project.evals.write.

Risk: mutating.

## Arguments

| Name                 | Type    | Required | Description                                                     |
| -------------------- | ------- | -------- | --------------------------------------------------------------- |
| `project_reference`  | string  |          | Project identifier or slug that scopes the tool call.           |
| `eval_id`            | string  | Yes      | Provide the eval id.                                            |
| `name`               | string  |          | Updated eval name. Omit it to keep the name.                    |
| `description`        | string  |          | Updated description. Omit it to keep the description.           |
| `target`             | string  |          | Updated agent identifier. Omit it to keep the target.           |
| `dataset`            | object  |          | Updated dataset. Omit it to keep the dataset.                   |
| `metrics`            | array   |          | Updated metrics. Omit them to keep the metrics.                 |
| `repetitions`        | integer |          | Updated repetitions. Omit them to keep the value.               |
| `tags`               | array   |          | Updated tags. Omit them to keep the tags.                       |
| `metadata`           | object  |          | Updated metadata object. Omit it to keep the metadata.          |
| `source_target_kind` | string  |          | Source to use: project or preview\_branch. Defaults to project. |
| `target_branch_id`   |         |          | Preview branch to use when the target kind is preview\_branch.  |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__update_eval",
    "arguments": {
      "eval_id": "<eval_id>"
    }
  }
}
```
