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.

Arguments

  • project_referencestring · min length 1

    Project identifier or slug that scopes the tool call.

  • eval_idstring · min length 1required

    Provide the eval id.

  • namestring · min length 1

    Updated eval name. Omit it to keep the name.

  • descriptionstring

    Updated description. Omit it to keep the description.

  • targetstring · min length 1

    Updated agent identifier. Omit it to keep the target.

  • datasetobject

    Updated dataset. Omit it to keep the dataset.

  • metricsarray of object

    Updated metrics. Omit them to keep the metrics.

  • repetitionsinteger

    Updated repetitions. Omit them to keep the value.

  • tagsarray of string

    Updated tags. Omit them to keep the tags.

  • metadataobject

    Updated metadata object. Omit it to keep the metadata.

  • source_target_kindstring

    Source to use: project or preview_branch. Defaults to project.

  • target_branch_idstring · uuid | null

    Preview branch to use when the target kind is preview_branch.

Responses

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__update_eval",    "arguments": {      "eval_id": "string"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"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\"],\"source\":\"string\",\"edit_mode\":\"structured\",\"source_only_reasons\":[\"string\"]}"      }    ],    "structuredContent": {      "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"      ],      "source": "string",      "edit_mode": "structured",      "source_only_reasons": [        "string"      ]    }  }}

The tool ran; its output is result.structuredContent.