# List evals

Tool: `veryfront__list_evals`

List the evals defined in the source of a project, a branch or an environment to find an eval to run or edit; returns every eval as one page with the source files that could not be read as evals. Requires project.evals.read.

## Arguments

| Name                    | Type                  | Required | Description                                                                                                                                                               |
| ----------------------- | --------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `project_reference`     | string · min length 1 |          | Project identifier or slug that scopes the tool call.                                                                                                                     |
| `source_target_kind`    | string                |          | Source to read: project, main\_branch, environment or preview\_branch. Overrides runtime\_target\_kind. One of `project`, `main_branch`, `environment`, `preview_branch`. |
| `runtime_target_kind`   | string \| null        |          | Runtime target to read from: main\_branch, environment or preview\_branch.                                                                                                |
| `target_environment_id` | string · uuid \| null |          | Environment to read from when the target kind is environment.                                                                                                             |
| `target_branch_id`      | string · uuid \| null |          | Preview branch to use when the target kind is preview\_branch.                                                                                                            |

## Responses

| Status | Description                                           |
| ------ | ----------------------------------------------------- |
| 200    | The tool ran; its output is result.structuredContent. |

## Call it

```bash
curl -X POST -N "https://api.veryfront.com/mcp" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Accept: application/json, text/event-stream" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__list_evals",
    "arguments": {}
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"data\":[{\"id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"target_kind\":\"agent\",\"target\":\"string\",\"source_path\":\"string\",\"export_name\":\"string\",\"dataset\":{\"kind\":\"inline\",\"path\":\"string\",\"examples\":[{\"id\":\"string\",\"input\":null,\"reference\":null,\"metadata\":{}}],\"editable\":false,\"dynamic\":false},\"metrics\":[{\"name\":\"string\",\"family\":\"answer\",\"severity\":\"gate\",\"threshold\":{\"min\":0,\"max\":0},\"config\":{},\"editable\":false,\"dynamic\":false}],\"repetitions\":1,\"tags\":[\"string\"],\"metadata\":{},\"editable_fields\":[\"name\"],\"dynamic_fields\":[\"name\"],\"capabilities\":[\"string\"]}],\"page_info\":{\"self\":\"string\",\"first\":null,\"next\":\"string\",\"prev\":\"string\"},\"diagnostics\":[{\"kind\":\"source_file_diagnostic\",\"source_kind\":\"agent\",\"source_path\":\"string\",\"source_id\":\"string\",\"code\":\"parse_error\",\"message\":\"string\",\"details\":{}}]}"
      }
    ],
    "structuredContent": {
      "data": [
        {
          "id": "string",
          "name": "string",
          "description": "string",
          "target_kind": "agent",
          "target": "string",
          "source_path": "string",
          "export_name": "string",
          "dataset": {
            "kind": "inline",
            "path": "string",
            "examples": [
              {
                "id": "string",
                "input": null,
                "reference": null,
                "metadata": {}
              }
            ],
            "editable": false,
            "dynamic": false
          },
          "metrics": [
            {
              "name": "string",
              "family": "answer",
              "severity": "gate",
              "threshold": {
                "min": 0,
                "max": 0
              },
              "config": {},
              "editable": false,
              "dynamic": false
            }
          ],
          "repetitions": 1,
          "tags": [
            "string"
          ],
          "metadata": {},
          "editable_fields": [
            "name"
          ],
          "dynamic_fields": [
            "name"
          ],
          "capabilities": [
            "string"
          ]
        }
      ],
      "page_info": {
        "self": "string",
        "first": null,
        "next": "string",
        "prev": "string"
      },
      "diagnostics": [
        {
          "kind": "source_file_diagnostic",
          "source_kind": "agent",
          "source_path": "string",
          "source_id": "string",
          "code": "parse_error",
          "message": "string",
          "details": {}
        }
      ]
    }
  }
}
```
