# veryfront__run_eval

Start a run of an eval against its agent, reading the eval from the project or a preview branch and running it on the main branch, an environment or a preview branch; returns the new eval run, which finishes in the background. Requires project.evals.run.

Risk: mutating.

## Arguments

| Name                       | Type   | Required | Description                                                                                                                                                         |
| -------------------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `project_reference`        | string |          | Project identifier or slug that scopes the tool call.                                                                                                               |
| `eval_id`                  | string | Yes      | Eval to run.                                                                                                                                                        |
| `source_target_kind`       | string |          | Source the eval definition is read from: project or preview\_branch. Defaults to project.                                                                           |
| `target_branch_id`         |        |          | Preview branch the eval definition is read from; required when source\_target\_kind is preview\_branch.                                                             |
| `runtime_target_kind`      | string |          | Runtime the eval runs on: main\_branch, environment or preview\_branch. Defaults to main\_branch.                                                                   |
| `target_environment_id`    |        |          | Environment the eval runs on; required when runtime\_target\_kind is environment.                                                                                   |
| `runtime_target_branch_id` |        |          | Preview branch the eval runs on, independent of the source branch; for a preview\_branch runtime.                                                                   |
| `input`                    |        |          | Eval run input: any JSON value (object, array, string, number, boolean or null).                                                                                    |
| `config`                   | object |          | Run configuration object. Its eval\_id is always set to the eval being run.                                                                                         |
| `idempotency_key`          | string |          | Retry key for this eval run, 1–128 characters. Overrides the HTTP Idempotency-Key header. Unkeyed root calls remain supported; supply the same key to retry safely. |

## Call it

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